High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
Fixed MAPBOX_KEY validation error
Alex Trandbd79f47975f
diff --git a/server/src/config/app.config.ts b/server/src/config/app.config.tsindex 8114e6e0dc..d58c102b3d 100644--- a/server/src/config/app.config.ts+++ b/server/src/config/app.config.ts@@ -13,9 +13,9 @@ export const immichAppConfig: ConfigModuleOptions = {JWT_SECRET: Joi.string().required(),ENABLE_MAPBOX: Joi.boolean().required().valid(true, false),MAPBOX_KEY: Joi.any().when('ENABLE_MAPBOX', {- is: true,- then: Joi.string().required(),- otherwise: Joi.string().optional(),+ is: false,+ then: Joi.string().optional().allow(null, ''),+ otherwise: Joi.string().required(),}),}),};