diff --git a/package.json b/package.json index ceb3cfc..746c1ad 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "popper.js": "^1.16.1", "randomcolor": "^0.6.2", "register-service-worker": "^1.7.1", + "uuid": "^8.3.2", "v-emoji-picker": "^2.3.0", "vue": "^2.6.11", "vue-click-outside": "^1.1.0", diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 0000000..75ae215 --- /dev/null +++ b/public/_redirects @@ -0,0 +1,2 @@ +# Netlify settings for single-page application +/* /index.html 200 \ No newline at end of file diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 685c93b..0ab25ce 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -119,7 +119,7 @@ diff --git a/src/views/Home.vue b/src/views/Home.vue index 2d47cfb..71f54c2 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -139,7 +139,6 @@ export default Vue.extend({ .then((res) => res.json()) .then((dat) => { - console.log(dat); this.version = dat.tag_name; }); }, diff --git a/vue.config.js b/vue.config.js index 540daee..8459b8c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -23,6 +23,7 @@ module.exports = { workboxPluginMode: 'InjectManifest', workboxOptions: { swSrc: './sw.js', + exclude: [/_redirects/], }, }, configureWebpack: { diff --git a/yarn.lock b/yarn.lock index 0324a81..50b135a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3589,9 +3589,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001135: - version "1.0.30001144" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001144.tgz#bca0fffde12f97e1127a351fec3bfc1971aa3b3d" - integrity sha512-4GQTEWNMnVZVOFG3BK0xvGeaDAtiPAbG2N8yuMXuXzx/c2Vd4XoMPO8+E918zeXn5IF0FRVtGShBfkfQea2wHQ== + version "1.0.30001223" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001223.tgz" + integrity sha512-k/RYs6zc/fjbxTjaWZemeSmOjO0JJV+KguOBA3NwPup8uzxM1cMhR2BD9XmO86GuqaqTCO8CgkgH9Rz//vdDiA== case-sensitive-paths-webpack-plugin@^2.3.0: version "2.3.0" @@ -11665,7 +11665,7 @@ uuid@^3.3.2, uuid@^3.4.0: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== -uuid@^8.3.1: +uuid@^8.3.1, uuid@^8.3.2: version "8.3.2" resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==