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')
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:
When setting
offline: false
to remove them the login prompt appears as intended. Therefore, I believe the issue is different from https://github.com/nuxt-community/pwa-module/issues/94The request workbox sent (from debug mode):
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 https://github.com/nuxt-community/pwa-module/issues/94#issuecomment-601084532