process.env fix
This commit is contained in:
parent
9c93f174ed
commit
e41ad88b4c
@ -13,7 +13,7 @@ const DEV: Option[] = [
|
||||
];
|
||||
|
||||
const ENV: Option[] = [];
|
||||
const WS_URL = process.env.WS_URL || (window as any).process_env.WS_URL;
|
||||
const WS_URL = process.env.WS_URL || (window as any).process_env?.WS_URL;
|
||||
|
||||
if (WS_URL) {
|
||||
ENV.push({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user