mirror of
https://github.com/immich-app/immich.git
synced 2025-01-28 06:32:44 +01:00
Fixed mapbox key required incorrect (#62)
This commit is contained in:
parent
f1ab700334
commit
f790315d3f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ export const immichAppConfig: ConfigModuleOptions = {
|
||||||
MAPBOX_KEY: Joi.any().when('ENABLE_MAPBOX', {
|
MAPBOX_KEY: Joi.any().when('ENABLE_MAPBOX', {
|
||||||
is: true,
|
is: true,
|
||||||
then: Joi.string().required(),
|
then: Joi.string().required(),
|
||||||
otherwise: Joi.string().optional,
|
otherwise: Joi.string().optional(),
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue