diff options
Diffstat (limited to 'views/index.jade')
-rw-r--r-- | views/index.jade | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/views/index.jade b/views/index.jade index 31e9186..28d435b 100644 --- a/views/index.jade +++ b/views/index.jade @@ -50,14 +50,5 @@ block content iframe(src='/hello', scrolling='no')#schedule +block scripts script(src='/javascripts/bundle.js') - script. - if ('serviceWorker' in navigator) { - navigator.serviceWorker.register('/sw.js').then(function(registration) { - // Registration was successful - console.log('ServiceWorker registration successful with scope: ', registration.scope) - }).catch(function(err) { - // registration failed :( - console.log('ServiceWorker registration failed: ', err) - }) - } |