This commit is contained in:
Sam Machin
2025-07-08 09:11:34 +01:00
parent 7d1807375b
commit da84d61f92

View File

@@ -14,7 +14,7 @@ const schema = JSON.parse(fs.readFileSync(schemaPath, 'utf8'));
* @returns {Object} - Result with { success: boolean, config: Object, error: string } * @returns {Object} - Result with { success: boolean, config: Object, error: string }
*/ */
function getAppConfig({ urlPath, appJsonPath }) { function getAppConfig({ urlPath, appJsonPath }) {
if (urlPath.length == 0 ) urlPath = "/"; if (urlPath.length == 0) urlPath = '/';
try { try {
if (!appJsonPath) { if (!appJsonPath) {
return { return {