fix: replace orIgnore with findOne for SQLite compat; set backend port 3003

This commit is contained in:
2026-07-02 14:31:51 +08:00
parent db7ccaf5a0
commit 4704adcba1
3 changed files with 14 additions and 18 deletions

View File

@@ -7,7 +7,7 @@ async function bootstrap() {
app.setGlobalPrefix('api');
app.enableCors();
app.useGlobalPipes(new ValidationPipe({ transform: true, whitelist: true }));
await app.listen(process.env.PORT ?? 3001);
console.log(`Server running on http://localhost:${process.env.PORT ?? 3001}`);
await app.listen(process.env.PORT ?? 3003);
console.log(`Server running on http://localhost:${process.env.PORT ?? 3003}`);
}
bootstrap();