mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 14:22:37 +10:00
configurable port
This commit is contained in:
@ -22,9 +22,10 @@ async function bootstrap() {
|
||||
stopAtFirstError: true,
|
||||
}),
|
||||
);
|
||||
app.enableCors();
|
||||
|
||||
app.useGlobalInterceptors(new TransformHttpResponseInterceptor());
|
||||
|
||||
await app.listen(3001);
|
||||
await app.listen(process.env.PORT || 3001);
|
||||
}
|
||||
bootstrap();
|
||||
|
||||
Reference in New Issue
Block a user