Update embeddable.ts

added tutar.app to allowed origins
This commit is contained in:
Sachin-infusory 2024-10-14 11:03:53 +05:30 committed by GitHub
parent 47ee8a0094
commit 9a51e70c80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,6 +66,7 @@ const ALLOWED_DOMAINS = new Set([
"val.town", "val.town",
"giphy.com", "giphy.com",
"reddit.com", "reddit.com",
"tutar.app"
]); ]);
const ALLOW_SAME_ORIGIN = new Set([ const ALLOW_SAME_ORIGIN = new Set([
@ -79,6 +80,7 @@ const ALLOW_SAME_ORIGIN = new Set([
"*.simplepdf.eu", "*.simplepdf.eu",
"stackblitz.com", "stackblitz.com",
"reddit.com", "reddit.com",
"turar.app"
]); ]);
export const createSrcDoc = (body: string) => { export const createSrcDoc = (body: string) => {