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