Closed
Description
I use Webpack Encore to build assets for my non-Symfony app. Let's say that the app root URL is http://my-app.dev
.
My app has a parser for the manifest.json
file so it's able to load assets from http://my-app.dev/dist/
or from http://127.0.0.1:8080/
- depending on the dev/production mode.
The problem is that if the assets are server from Webpack dev server URL (http://127.0.0.1:8080/
) then Invalid Host/Origin header
errors keep on showing up in the JS console.
The errors are caused by Webpack dev server. Here's the bug report.
Metadata
Metadata
Assignees
Labels
No labels