mirror of
https://github.com/immich-app/immich.git
synced 2025-12-25 17:24:58 +03:00
refactor: more process.env references (#13106)
This commit is contained in:
@@ -7,7 +7,7 @@ import { useSwagger } from 'src/utils/misc';
|
||||
|
||||
const sync = async () => {
|
||||
const app = await NestFactory.create<NestExpressApplication>(ApiModule, { preview: true });
|
||||
useSwagger(app, true);
|
||||
useSwagger(app, { write: true });
|
||||
await app.close();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user