diff --git a/backend/src/main.ts b/backend/src/main.ts index 8dddd1e6..982a558e 100644 --- a/backend/src/main.ts +++ b/backend/src/main.ts @@ -20,8 +20,8 @@ async function bootstrap() { const document = SwaggerModule.createDocument(app, config); SwaggerModule.setup('api', app, document); const appService = app.get(AppService); - await appService.initializeDb(); + // await appService.initializeDb(); - await app.listen(3001); + await app.listen(3000); } bootstrap(); diff --git a/backend/src/ormconfig.ts b/backend/src/ormconfig.ts index 39046219..8e630a5e 100644 --- a/backend/src/ormconfig.ts +++ b/backend/src/ormconfig.ts @@ -27,7 +27,7 @@ const config: TypeOrmModuleOptions = { DocumentTemplate, DocumentType, ], - synchronize: true, + synchronize: false, }; export default config;