Skip to content

Commit 006a393

Browse files
committed
add cors header
1 parent edb56dd commit 006a393

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

server/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ app.use(
2323
path.endsWith("/.well-known/matrix/server")
2424
) {
2525
res.setHeader("Content-Type", "application/json");
26+
res.setHeader("Access-Control-Allow-Origin", "*");
2627
}
2728
},
2829
}),

0 commit comments

Comments
 (0)