mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
use production
env as fallback
This commit is contained in:
parent
69a5fbab9b
commit
fbb2ace93b
@ -1,5 +1,5 @@
|
||||
function composeRemote(path) {
|
||||
return envOrigins[process.env.NODE_ENV][path]
|
||||
return envOrigins[process.env.NODE_ENV ?? "production"][path]
|
||||
}
|
||||
|
||||
function getCurrentHostname() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user