We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92eb236 commit a909e3bCopy full SHA for a909e3b
monitor/app.js
@@ -13,7 +13,7 @@ const app = WebSocket(new Koa())
13
app.use(async (ctx, next) => {
14
ctx.set("Access-Control-Allow-Origin", ctx.header.origin || "*")
15
ctx.set("Access-Control-Allow-Methods", "PUT,POST,GET,DELETE,OPTIONS")
16
- ctx.set("Access-Control-Allow-Headers", "access-token,webfunny-secret-code,Content-Type")
+ ctx.set("Access-Control-Allow-Headers", "access-token,webfunny-secret-code,x-requested-with,Content-Type")
17
ctx.set("Access-Control-Allow-Credentials", true)
18
ctx.set("X-Powered-By", "3.2.1")
19
ctx.set("Content-Type", "application/json;charset=utf-8")
0 commit comments