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

Service worker causes 400 when accessing AWS S3 Assests #470

Open
developdeez opened this issue Dec 5, 2019 · 0 comments
Open

Service worker causes 400 when accessing AWS S3 Assests #470

developdeez opened this issue Dec 5, 2019 · 0 comments

Comments

@developdeez
Copy link

I keep getting a "400 Service Worker Fallback Required http/1.1" error when I try to access my images from S3 the first time. I assume the Service worker is send preflight to AWS instead of the call which is to request the actual image from AWS. I noticed a refresh fixes it but it happens too often.

Webpack:
new OfflinePlugin()

Main.js:
if (process.env.NODE_ENV === "production") {
OfflinePluginRuntime.install();
}

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