diff --git a/assets/js/script.js b/assets/js/script.js index d20e5eb..e90ff52 100755 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -6,7 +6,7 @@ const App = { return { // App info title: "Draw something", - version: "1.2", + version: "beta 1.2", // WLED JSON url: "", size: 10, @@ -241,6 +241,9 @@ const App = { mounted() { const host = window.location.host; this.url = `http://${host}/json`; + if (host === 'mvaneijgen.nl') { + this.ignoreNotice(); + } //--------------------------------// // 💾 Get everything from local storage //--------------------------------// @@ -252,12 +255,10 @@ const App = { // END 💾 Get everything from local storage --------------// this.mapUrlParameters() }, - created() { - const host = window.location.host; - if (host === 'mvaneijgen.nl') { - this.ignoreNotice(); - } - } + // created() { + // const host = window.location.host; + + // } }; createApp(App).mount("#app"); diff --git a/dist/drawsomething.html b/dist/drawsomething.html index e364ee0..43e215f 100644 --- a/dist/drawsomething.html +++ b/dist/drawsomething.html @@ -737,7 +737,7 @@

We could not fetch your settings at {{url}}

return { // App info title: "Draw something", - version: "1.2", + version: "beta 1.2", // WLED JSON url: "", size: 10, @@ -986,6 +986,10 @@

We could not fetch your settings at {{url}}

// END 💾 Get everything from local storage --------------// this.mapUrlParameters() }, + // created() { + // const host = window.location.host; + + // } }; createApp(App).mount("#app");