I
This commit is contained in:
+9
-1
@@ -3,6 +3,14 @@ import { AppModule } from './app.module';
|
||||
|
||||
async function bootstrap() {
|
||||
const app = await NestFactory.create(AppModule);
|
||||
await app.listen(process.env.PORT ?? 3004);
|
||||
const port = process.env.PORT || 3005;
|
||||
await app.listen(port, () =>
|
||||
|
||||
console.log(`
|
||||
🔥 X-Poster is running!
|
||||
📡 API: http://localhost:${port}
|
||||
`)
|
||||
);
|
||||
|
||||
}
|
||||
bootstrap();
|
||||
|
||||
Reference in New Issue
Block a user