fix: api v2 docs in prod (#14898)
This commit is contained in:
1 parent
8deedfd361
commit
4cb77abfd7
2 files changed
+2
-4
No files matched your search
@@ -24,9 +24,7 @@ const run = async () => {
|
||||
try {
|
||||
bootstrap(app);
|
||||
const port = app.get(ConfigService<AppConfig, true>).get("api.port", { infer: true });
|
||||
if (process.env.SKIP_DOCS_GENERATION !== "1") {
|
||||
void generateSwagger(app);
|
||||
}
|
||||
void generateSwagger(app);
|
||||
await app.listen(port);
|
||||
logger.log(`Application started on port: ${port}`);
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user