Revert "Merge branch 'main' into 'main'"
This reverts merge request !40
This commit is contained in:
parent
f0519e3fc0
commit
7c18258b8c
@ -120,7 +120,6 @@ const routes = [
|
|||||||
|
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
mode: 'history',
|
mode: 'history',
|
||||||
base: process.env.BASE_URL || '',
|
|
||||||
routes,
|
routes,
|
||||||
scrollBehavior() {
|
scrollBehavior() {
|
||||||
return { x: 0, y: 0 }
|
return { x: 0, y: 0 }
|
||||||
|
@ -33,5 +33,5 @@ class CustomSocket extends WebSocket {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const domain = process.env.WEBSOCKET_URL || location.host
|
|
||||||
export const socket = new CustomSocket((location.protocol === 'https:' ? 'wss://' : 'ws://') + domain + '/')
|
export const socket = new CustomSocket((location.protocol === 'https:' ? 'wss://' : 'ws://') + location.host + '/')
|
||||||
|
Loading…
Reference in New Issue
Block a user