-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Description
Even with the proposed fix https://pwa.nuxtjs.org/modules/workbox.html#basic-auth I am experiencing the issue. Crossorigin is set correctly in index.html.
<link data-n-head="1" rel="manifest" href="/_nuxt/manifest.c09e73a7.json" crossorigin="use-credentials">
Registering the routes causes the issue:
workbox.routing.registerRoute(new RegExp('/'), new workbox.strategies.NetworkFirst (), 'GET')
When setting offline: false to remove them the login prompt appears as intended.
Therefore, I believe the issue is different from #94
The request workbox sent (from debug mode):
method: "GET"
url: "https://****.***/"
headers: Headers {}
destination: "document"
referrer: ""
referrerPolicy: "no-referrer-when-downgrade"
mode: "navigate"
credentials: "include"
cache: "default"
redirect: "manual"
integrity: ""
keepalive: false
signal: AbortSignal {aborted: false, onabort: null}
isHistoryNavigation: false
bodyUsed: false
Am I missing anything?
I'm on
"@nuxtjs/pwa": "^3.0.0-beta.20"
Chrome v. 80.0.3987.149
Originally posted by @FelixRe0 in #94 (comment)
bezin and bestii
Metadata
Metadata
Assignees
Labels
No labels