mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-11 04:16:55 +00:00
possible netlify cors header fix youtube
This commit is contained in:
1 parent
510a9f03a3
commit
15bcdb0ca1
2 files changed
+8
-1
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<div {% if class %}class="{{class}}" {% endif %}>
|
||||
<iframe
|
||||
src="https://www.youtube.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}&origin=https://storyteller.ai"
|
||||
src="https://www.youtube.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}"
|
||||
webkitallowfullscreen
|
||||
mozallowfullscreen
|
||||
allowfullscreen
|
||||
|
||||
@@ -33,3 +33,10 @@ from = "/asdf"
|
||||
to = "https://storyteller.ai/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
|
||||
[[headers]]
|
||||
for = "/*"
|
||||
[headers.values]
|
||||
Cross-Origin-Embedder-Policy = "require-corp"
|
||||
Cross-Origin-Resource-Policy = "cross-origin"
|
||||
Reference in new issue
Block a user