Verified Commit f6908bf1 authored by Morgan Bazalgette's avatar Morgan Bazalgette Committed by Haelwenn

always make /web/login go through

Original commit: 011eda08
parent f1dd5267
......@@ -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')) {
const asyncResponse = fetchRoot();
const asyncCache = openWebCache();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment