mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
Fixed mapbox key required incorrect (#62)
This commit is contained in:
parent
f1ab700334
commit
f790315d3f
@ -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 New Issue
Block a user