Verified Commit 1edf2cf2 authored by Morgan Bazalgette's avatar Morgan Bazalgette Committed by Haelwenn

always make /web/login go through

Original commit: 011eda08
parent 3212836b
......@@ -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();
......
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