Loading backend/src/app.module.ts +2 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ import { State } from './state/entities/state.entity'; import { ServeStaticModule } from '@nestjs/serve-static'; import { join } from 'path'; import { Town } from './town/entities/town.entity'; import { TownModule } from './town/town.module'; @Module({ imports: [ TypeOrmModule.forRoot({ Loading @@ -33,6 +34,7 @@ import { Town } from './town/entities/town.entity'; AuthUserModule, StateModule, DatabaseSeederModule, TownModule, ServeStaticModule.forRoot({ rootPath: join(__dirname, '..', 'static'), }), Loading Loading
backend/src/app.module.ts +2 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ import { State } from './state/entities/state.entity'; import { ServeStaticModule } from '@nestjs/serve-static'; import { join } from 'path'; import { Town } from './town/entities/town.entity'; import { TownModule } from './town/town.module'; @Module({ imports: [ TypeOrmModule.forRoot({ Loading @@ -33,6 +34,7 @@ import { Town } from './town/entities/town.entity'; AuthUserModule, StateModule, DatabaseSeederModule, TownModule, ServeStaticModule.forRoot({ rootPath: join(__dirname, '..', 'static'), }), Loading