diff --git a/index.html b/index.html
index 12a0b6a..967dadd 100644
--- a/index.html
+++ b/index.html
@@ -52,11 +52,7 @@
( testCanvas.getContext && testCanvas.getContext( '2d' ) )
) {
if ( 'serviceWorker' in navigator ) {
- if ( location.protocol !== 'https:' && location.host !== 'localhost' ) {
- location.protocol = 'https:';
- } elseĀ {
- navigator.serviceWorker.register( 'serviceworker.js' );
- }
+ navigator.serviceWorker.register( 'serviceworker.js' );
}
var loaderEl = document.createElement( 'div' );