This commit is contained in:
einhornimmond 2025-03-12 16:01:39 +01:00
parent 51b4dccbf3
commit 7f2e9f92bb

View File

@ -20,15 +20,10 @@ module.exports = Joi.object({
DEBUG,
GRAPHQL_URI,
HUMHUB_ACTIVE,
// HUMHUB_API_URL,
HUMHUB_API_URL,
NODE_ENV,
PRODUCTION,
HUMHUB_API_URL: Joi.string()
.uri({ scheme: ['http', 'https'] })
.when('HUMHUB_ACTIVE', { is: true, then: Joi.required(), otherwise: Joi.optional() })
.description('The API URL for HumHub integration'),
ADMIN_HOSTING: Joi.string()
.valid('nodejs', 'nginx')
.description('set to `nodejs` if admin is hosted by vite with a own nodejs instance')