From 612a6c6f01ef69d37c94697fd5429ba38172dd3f Mon Sep 17 00:00:00 2001 From: rafael1209 Date: Tue, 26 Mar 2024 17:42:01 +0200 Subject: [PATCH] site turned on for test --- luckydiamond/src/main.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/luckydiamond/src/main.js b/luckydiamond/src/main.js index f732e29..f69018e 100644 --- a/luckydiamond/src/main.js +++ b/luckydiamond/src/main.js @@ -1,13 +1,13 @@ import { createApp } from 'vue' import App from './App.vue' -const SiteOff = { - template: `
-

Site is currently unavailable.

-

We are currently performing maintenance. We will be back shortly!

-
` -}; -const siteIsOff = true; +// const SiteOff = { +// template: `
+//

Site is currently unavailable.

+//

We are currently performing maintenance. We will be back shortly!

+//
` +// }; +// const siteIsOff = true; import router from "@/router/router"; import mitt from 'mitt' @@ -19,20 +19,20 @@ import '@/assets/css/global.css' export const eventBus = mitt() -// const app = createApp(App) -const app = createApp(siteIsOff ? SiteOff : App); +const app = createApp(App) +// const app = createApp(siteIsOff ? SiteOff : App); -if (!siteIsOff) { - app.use(router); - app.mixin(Mixins); - app.provide(eventBus); - // ConnectToChat(); // Uncomment if chat should also be disabled when the site is off. -} +// if (!siteIsOff) { +// app.use(router); +// app.mixin(Mixins); +// app.provide(eventBus); +// // ConnectToChat(); // Uncomment if chat should also be disabled when the site is off. +// } -// app.use(router) -// app.mixin(Mixins) +app.use(router) +app.mixin(Mixins) app.mount('#app') -// app.provide(eventBus) +app.provide(eventBus) ConnectToChat(); \ No newline at end of file