Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore url to be fetched by the service worker #614

Open
jonadeline opened this issue Feb 11, 2022 · 0 comments
Open

Ignore url to be fetched by the service worker #614

jonadeline opened this issue Feb 11, 2022 · 0 comments

Comments

@jonadeline
Copy link

jonadeline commented Feb 11, 2022

Hi all,

First thanks for this great module. Im relying a lot on it since a while now 👌

Im using @nuxtjs/sentry for logging my errors and I also activated the firebase authentication service with SSR support.
I'm facing an issue with sentry DSN url which is fetched by the firebase-auth-sw and this is causing a fetch error.
I'd like to ignore this url from being fetched by the service worker but i dont know how i can amend the firebase-auth-sw as its generated on build and don't see any options available regarding the service worker in the firebase-module conf.
Is there any workaround i could use to avoid this error ?

Thanks in advance for your help.

Here is the error I get in the console
The FetchEvent for "https://xxxxx.ingest.sentry.io/api/xxxx/envelope/?sentry_key=xxxxxx&sentry_version=7" resulted in a network error response: the promise was rejected.
firebase-auth-sw.js:111 Uncaught (in promise) TypeError: Failed to fetch at firebase-auth-sw.js:111:30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant