Improvements to URL handling in the webapp allowing for SSL (when behind a proxy) #104296
@ -5,8 +5,6 @@ if (import.meta.env.MODE == 'development') {
|
||||
url.port = '8080';
|
||||
}
|
||||
|
||||
console.log(import.meta.env.MODE);
|
||||
|
||||
const URLs = {
|
||||
api: `${url.protocol}//${url.hostname}:${url.port}/`,
|
||||
ws: `${url.protocol.replace('http', 'ws')}//${url.hostname}:${url.port}/`,
|
||||
|
Loading…
Reference in New Issue
Block a user