Open jschreuder opened 7 years ago
Headers implemented for all PHP requests, won't affect index.html though: a30bc05d66d2493c655c473df587f08f2e084ba4
Possibly server index.html through PHP?
Main template now served through PHP with headers attached in db02a770a88cad1b4cc1759b0971d8a1f9d511d0
This had the CSP causing all sorts of mayhem ofcouse, so the following modifications were necessary:
ng-csp
to force Angular to go into CSP compatible modescript-src
directive and self
to child-src
data:
to img-src
unsafe-inline
to style-src
to not break Angular Material themingThat last modification would be better not to have, but not sure how to eliminate it.
Done for v1, may want to revisit for next version.