WIP
This commit is contained in:
16
src/app.module.ts
Normal file
16
src/app.module.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { AppController } from './app.controller';
|
||||
import { ServeStaticModule } from '@nestjs/serve-static';
|
||||
import { join } from 'path';
|
||||
import { PrismaService } from './services/prisma.service';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
ServeStaticModule.forRoot({
|
||||
rootPath: join(__dirname, 'client'),
|
||||
}),
|
||||
],
|
||||
controllers: [AppController],
|
||||
providers: [PrismaService],
|
||||
})
|
||||
export class AppModule { }
|
||||
Reference in New Issue
Block a user