High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: Swagger UI generates incorrect double-prefixed URLs (/api/api/...) (#25266)
idubnori7b3a298c6abe
diff --git a/server/src/utils/misc.ts b/server/src/utils/misc.tsindex 08f1401d50..7d2e99a215 100644--- a/server/src/utils/misc.ts+++ b/server/src/utils/misc.ts@@ -261,6 +261,7 @@ export const useSwagger = (app: INestApplication, { write }: { write: boolean })const options: SwaggerDocumentOptions = {operationIdFactory: (controllerKey: string, methodKey: string) => methodKey,extraModels: extraSyncModels,+ ignoreGlobalPrefix: true,};const specification = SwaggerModule.createDocument(app, config, options);