use production env as fallback

This commit is contained in:
SrGooglo 2023-06-05 09:41:26 +00:00
parent 69a5fbab9b
commit fbb2ace93b

View File

@ -1,5 +1,5 @@
function composeRemote(path) {
return envOrigins[process.env.NODE_ENV][path]
return envOrigins[process.env.NODE_ENV ?? "production"][path]
}
function getCurrentHostname() {