mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-09-30 18:29:36 +02:00
cors: add headers to allow the YouTube embed wrapper to be displayed in an iframe
This commit is contained in:
1 parent
03f230dbca
commit
d047bd052e
1 file changed
+2
@@ -218,6 +218,8 @@ const server = Bun.serve({
|
||||
status: 200,
|
||||
headers: {
|
||||
"Content-Type": "text/html; charset=utf-8",
|
||||
"Content-Security-Policy": "frame-ancestors *",
|
||||
"X-Frame-Options": "ALLOWALL",
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user