Revert "Merge branch 'main' into 'main'"

This reverts merge request !40
This commit is contained in:
RemixDev 2022-07-29 16:29:02 +00:00
parent f0519e3fc0
commit 7c18258b8c
2 changed files with 2 additions and 3 deletions

View File

@ -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 }

View File

@ -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 + '/')