always make /web/login go through
Original commit: 011eda089abad18c89324ca4bcb6930bb682a0b9
This commit is contained in:
parent
a19287cafa
commit
f40c8bc30a
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue