diff --git a/pwa/templates/pwa.html b/pwa/templates/pwa.html
index b148acc..660763c 100644
--- a/pwa/templates/pwa.html
+++ b/pwa/templates/pwa.html
@@ -36,7 +36,7 @@
// Initialize the service worker
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/serviceworker.js', {
- scope: '.'
+ scope: '/'
}).then(function (registration) {
// Registration was successful
console.log('django-pwa: ServiceWorker registration successful with scope: ', registration.scope);
diff --git a/tests/test_template_tag_meta.py b/tests/test_template_tag_meta.py
index 909bd5b..a825c2d 100644
--- a/tests/test_template_tag_meta.py
+++ b/tests/test_template_tag_meta.py
@@ -53,7 +53,7 @@ class CreateMetaTemplateTagTest(TestCase):
'