Clean this mess
This commit is contained in:
@ -13,11 +13,11 @@ const app = createApp(App).use(i18n)
|
||||
const https = (import.meta.env.SAFETWITCH_HTTPS.slice() === "true")
|
||||
|
||||
const protocol = https ? 'https://' : 'http://'
|
||||
const wsProtocol = https ? 'wss://' : 'ws://'
|
||||
app.provide('protocol', protocol)
|
||||
app.provide('rootUrl', `${protocol}${import.meta.env.SAFETWITCH_INSTANCE_DOMAIN}`)
|
||||
app.provide('rootBackendUrl', `${protocol}${import.meta.env.SAFETWITCH_BACKEND_DOMAIN}`)
|
||||
|
||||
|
||||
app.provide('wsLink', `${wsProtocol}${import.meta.env.SAFETWITCH_BACKEND_DOMAIN}`)
|
||||
|
||||
import { OhVueIcon, addIcons } from 'oh-vue-icons'
|
||||
import {
|
||||
|
Reference in New Issue
Block a user