always make /web/login go through
Original commit: 011eda089abad18c89324ca4bcb6930bb682a0b9
This commit is contained in:
parent
9c92359bc2
commit
3445b80b9e
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