diff --git a/spiffworkflow-frontend/src/config.tsx b/spiffworkflow-frontend/src/config.tsx index 02fca38f1..b2f8d641b 100644 --- a/spiffworkflow-frontend/src/config.tsx +++ b/spiffworkflow-frontend/src/config.tsx @@ -31,6 +31,10 @@ if ('spiffworkflowFrontendJsenv' in window) { } } +if (import.meta.env.VITE_BACKEND_BASE_URL) { + backendBaseUrl = import.meta.env.VITE_BACKEND_BASE_URL; +} + if (!backendBaseUrl) { let hostAndPortAndPathPrefix; if (appRoutingStrategy === 'subdomain_based') {