chore(dev): move local API default port to 3010

Avoid conflict with another local service on 3000; align Vite proxies and docs.
This commit is contained in:
2026-08-07 21:03:23 +08:00
parent 21d44026d9
commit 8f83624ffe
13 changed files with 18 additions and 16 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ async function bootstrap() {
app.useGlobalPipes(new ValidationPipe({ transform: true, whitelist: true }));
app.useGlobalFilters(new HttpExceptionFilter(app.get(AlertService)));
app.useGlobalInterceptors(new ResponseInterceptor(), app.get(LoggingInterceptor));
const port = process.env.PORT || 3000;
const port = process.env.PORT || 3010;
const cfg = loadAppConfig();
const smsMode = cfg.mockSms ? 'MOCK' : 'ALIYUN';
console.log(`[config] NODE_ENV=${process.env.NODE_ENV} MOCK_SMS=${cfg.mockSms} SMS=${smsMode}`);