Skip to content

Commit afdefac

Browse files
committed
remove CORS settings on /editor: this was needed when we were externally embedding horizon/CPO for the web extension, but we can do that statically now. This messes with the picker and Google APIs
1 parent 2f6b9cb commit afdefac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/server.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,8 +529,6 @@ function start(config, onServerReady) {
529529
});
530530

531531
app.get("/editor", function(req, res) {
532-
res.set("Cross-Origin-Resource-Policy", "cross-origin");
533-
res.set("Cross-Origin-Embedder-Policy", "require-corp");
534532
res.render("editor.html", {
535533
PYRET: process.env.PYRET,
536534
BASE_URL: config.baseUrl,

0 commit comments

Comments
 (0)