mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
fix(server): library folder missing on new install (#2597)
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
MACHINE_LEARNING_ENABLED,
|
||||
SearchService,
|
||||
SERVER_VERSION,
|
||||
StorageService,
|
||||
} from '@app/domain';
|
||||
import { RedisIoAdapter } from '@app/infra';
|
||||
import { Logger } from '@nestjs/common';
|
||||
@@ -72,6 +73,8 @@ async function bootstrap() {
|
||||
customSiteTitle: 'Immich API Documentation',
|
||||
});
|
||||
|
||||
app.get(StorageService).init();
|
||||
|
||||
await app.listen(serverPort, () => {
|
||||
if (process.env.NODE_ENV == 'development') {
|
||||
// Generate API Documentation only in development mode
|
||||
|
||||
Reference in New Issue
Block a user