Skip to content

Commit

Permalink
fix: PWA Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed Sep 30, 2021
1 parent 47e76d5 commit 55a1599
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Base Service Worker implementation. To use your own Service Worker, set the PWA_SERVICE_WORKER_PATH variable in settings.py

var staticCacheName = "django-pwa-v" + new Date().getTime();
var filesToCache = [
'/offline/',
Expand Down
2 changes: 1 addition & 1 deletion bb_public/templates/landing_ai.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-QZQPQ7EV5P');
gtag('config', 'G-QZQPQ7EV5P', { cookie_flags: 'SameSite=None;Secure' });
</script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion brickbox/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
# ---------------------------------------------------------------------------- #
# Progressive Web App (PWA) #
# ---------------------------------------------------------------------------- #
PWA_SERVICE_WORKER_PATH = '/var/www/brickbox/static/pwa/serviceworker.js'
PWA_SERVICE_WORKER_PATH = '/var/www/brickbox/static/js/serviceworker.js'

if DEBUG:
PWA_APP_NAME = 'DEV-brickbox.io'
Expand Down

0 comments on commit 55a1599

Please sign in to comment.