From 7f2e9f92bb64ab57ace175f36a02b3b45ba620c9 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Wed, 12 Mar 2025 16:01:39 +0100 Subject: [PATCH] fix --- admin/src/config/schema.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/admin/src/config/schema.js b/admin/src/config/schema.js index ecf134a1a..88847f347 100644 --- a/admin/src/config/schema.js +++ b/admin/src/config/schema.js @@ -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')