From 3d2371c449e7f07ab903f99c04aa933783f60090 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 30 May 2023 11:00:43 +0530 Subject: [PATCH] fix: set fallback dashboard path while creating config Signed-off-by: Pranav C --- packages/nocodb/src/utils/nc-config/NcConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/utils/nc-config/NcConfig.ts b/packages/nocodb/src/utils/nc-config/NcConfig.ts index b8d3654551..3b25d952f9 100644 --- a/packages/nocodb/src/utils/nc-config/NcConfig.ts +++ b/packages/nocodb/src/utils/nc-config/NcConfig.ts @@ -149,7 +149,7 @@ export class NcConfig { port: process.env.NC_PORT, tryMode: !!process.env.NC_TRY, worker: !!process.env.NC_WORKER, - dashboardPath: process.env.NC_DASHBOARD_PATH, + dashboardPath: process.env.NC_DASHBOARD_PATH || '/dashboard', publicUrl: process.env.NC_PUBLIC_URL, }); }