diff --git a/.proxyrc.js b/.proxyrc.js new file mode 100644 index 000000000..415b4a6d9 --- /dev/null +++ b/.proxyrc.js @@ -0,0 +1,10 @@ +// Allows resources (images, css) from other origins to be used +// Without this, parcel 2 blocks all external resources +// See https://git.io/JRYKi +module.exports = function (app) { + app.use((req, res, next) => { + res.removeHeader('Cross-Origin-Resource-Policy'); + res.removeHeader('Cross-Origin-Embedder-Policy'); + next(); + }); +}; diff --git a/bh7.html b/bh7.html index 703317369..e453338a4 100644 --- a/bh7.html +++ b/bh7.html @@ -544,6 +544,6 @@