mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-02-22 14:18:27 +00:00
allow setting backend base url through vite for local dev
This commit is contained in:
parent
b5f1b3f2c4
commit
23b5a9236b
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user