WS_URL override takes precedence (#566)
This commit is contained in:
parent
b5774378f7
commit
501de3c9fd
@ -35,9 +35,7 @@ function App (props: Props) {
|
||||
);
|
||||
}
|
||||
|
||||
const url = !settings.apiUrl
|
||||
? undefined
|
||||
: settings.apiUrl;
|
||||
const url = process.env.WS_URL || settings.apiUrl || undefined;
|
||||
|
||||
console.log('Web socket url=', url);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user