diff --git a/app/javascript/mastodon/service_worker/entry.js b/app/javascript/mastodon/service_worker/entry.js index eb66f8457..9ab0bd333 100644 --- a/app/javascript/mastodon/service_worker/entry.js +++ b/app/javascript/mastodon/service_worker/entry.js @@ -28,6 +28,10 @@ self.addEventListener('fetch', function(event) { const url = new URL(event.request.url); if (url.pathname.startsWith('/web')) { + // we always make /web/login go through + if (url.pathname.startsWith('/web/login')) { + return; + } const asyncResponse = fetchRoot(); const asyncCache = openWebCache();