Browse Source

fix: set fallback dashboard path while creating config

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5762/head
Pranav C 2 years ago
parent
commit
3d2371c449
  1. 2
      packages/nocodb/src/utils/nc-config/NcConfig.ts

2
packages/nocodb/src/utils/nc-config/NcConfig.ts

@ -149,7 +149,7 @@ export class NcConfig {
port: process.env.NC_PORT, port: process.env.NC_PORT,
tryMode: !!process.env.NC_TRY, tryMode: !!process.env.NC_TRY,
worker: !!process.env.NC_WORKER, worker: !!process.env.NC_WORKER,
dashboardPath: process.env.NC_DASHBOARD_PATH, dashboardPath: process.env.NC_DASHBOARD_PATH || '/dashboard',
publicUrl: process.env.NC_PUBLIC_URL, publicUrl: process.env.NC_PUBLIC_URL,
}); });
} }

Loading…
Cancel
Save