diff --git a/source/server/server.ts b/source/server/server.ts index eea1266c..4021f515 100644 --- a/source/server/server.ts +++ b/source/server/server.ts @@ -107,6 +107,12 @@ export default async function createServer(config = defaultConfig) :Promise{ + res.set("Access-Control-Allow-Origin", "*"); + next(); + }); + app.use("/ui/scenes/:scene/", canRead); app.get("/ui/scenes/:scene/view", (req, res)=>{