Relative Content

Tag Archive for angularhttpcors

CORS error in angular http.get, without server

I want to run my Angular app without any server/build/etc. For that, I built my app ng build -c=production, but opening the generated index.html isn’t easy: I removed <base href="/"> and the type="module"s from script injections, so it started nicely!