diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-04-30 15:33:40 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-04-30 15:33:40 -0400 |
| commit | 716c9cb0135f5082531e7bd7adcbf90d208b4bb5 (patch) | |
| tree | 52e50ee4e323d5ebacc225eedc8707a0da0a5580 | |
| parent | 2bfefbdb7d4a36d20c8396943dde423d54ed548d (diff) | |
| download | personal-website-716c9cb0135f5082531e7bd7adcbf90d208b4bb5.tar.gz personal-website-716c9cb0135f5082531e7bd7adcbf90d208b4bb5.tar.bz2 personal-website-716c9cb0135f5082531e7bd7adcbf90d208b4bb5.zip | |
Added warning message
| -rw-r--r-- | pages/index.vue | 4 | ||||
| -rw-r--r-- | static/sw.js | 33 |
2 files changed, 5 insertions, 32 deletions
diff --git a/pages/index.vue b/pages/index.vue index 420b60e..5095451 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,5 +1,9 @@ <template> <div> + <v-alert dismissible> + Please note that this website is under active development.<br> + If you see any problems please report them <a href="https://github.com/alee14/personal-website/issues">here</a>. + </v-alert> <!-- Animation goes here --> <div class="landing-page"> <v-card> diff --git a/static/sw.js b/static/sw.js index 3f26afe..ea69899 100644 --- a/static/sw.js +++ b/static/sw.js @@ -1,32 +1 @@ -importScripts('https://cdn.jsdelivr.net/npm/workbox-cdn@4.3.1/workbox/workbox-sw.js') - -// -------------------------------------------------- -// Configure -// -------------------------------------------------- - -// Set workbox config -workbox.setConfig({ - "debug": false -}) - -// Start controlling any existing clients as soon as it activates -workbox.core.clientsClaim() - -// Skip over the SW waiting lifecycle stage -workbox.core.skipWaiting() - -workbox.precaching.cleanupOutdatedCaches() - -// -------------------------------------------------- -// Precaches -// -------------------------------------------------- - -// Precache assets - -// -------------------------------------------------- -// Runtime Caching -// -------------------------------------------------- - -// Register route handlers for runtimeCaching -workbox.routing.registerRoute(new RegExp('/_nuxt/'), new workbox.strategies.CacheFirst ({}), 'GET') -workbox.routing.registerRoute(new RegExp('/'), new workbox.strategies.NetworkFirst ({}), 'GET') +// THIS FILE SHOULD NOT BE VERSION CONTROLLED |
