mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
disable PWA, many issues with page showing old data might be coming from it
This commit is contained in:
parent
1630f1009b
commit
e657df81f8
@ -57,6 +57,14 @@
|
||||
sorter();
|
||||
|
||||
this.confirmAge();
|
||||
|
||||
// TODO remove when adding back PWA
|
||||
navigator.serviceWorker.getRegistrations().then(function(registrations) {
|
||||
for(let registration of registrations) {
|
||||
console.log('unregistering', registration);
|
||||
registration.unregister();
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
async confirmAge() {
|
||||
|
@ -146,7 +146,7 @@ export default {
|
||||
buildModules: [],
|
||||
modules: [
|
||||
'@privyid/nuxt-csrf',
|
||||
'@nuxtjs/pwa',
|
||||
//'@nuxtjs/pwa',
|
||||
'@nuxtjs/axios',
|
||||
['@nuxtjs/redirect-module', {
|
||||
rules: config.redirects,
|
||||
@ -154,16 +154,16 @@ export default {
|
||||
'cookie-universal-nuxt',
|
||||
'vue-plausible',
|
||||
],
|
||||
pwa: {
|
||||
manifest: {
|
||||
name: title,
|
||||
short_name: title,
|
||||
description: description,
|
||||
background_color: '#ffffff',
|
||||
theme_color: colour,
|
||||
lang: locale,
|
||||
}
|
||||
},
|
||||
// pwa: {
|
||||
// manifest: {
|
||||
// name: title,
|
||||
// short_name: title,
|
||||
// description: description,
|
||||
// background_color: '#ffffff',
|
||||
// theme_color: colour,
|
||||
// lang: locale,
|
||||
// }
|
||||
// },
|
||||
plausible: {
|
||||
domain: process.env.PLAUSIBLE_DOMAIN || translations.domain,
|
||||
// NOTE(privacy): Disables automatic tracking of page views, meaning we have to do it manually
|
||||
|
Loading…
x
Reference in New Issue
Block a user