Enable CORS for index.html
parent
49785bc415
commit
59d17eb5ea
|
@ -0,0 +1,17 @@
|
|||
[[headers]]
|
||||
# Define which paths this specific [[headers]] block will cover.
|
||||
for = "/"
|
||||
|
||||
[headers.values]
|
||||
|
||||
Access-Control-Allow-Origin = "*"
|
||||
|
||||
# X-XSS-Protection = "1; mode=block"
|
||||
# Content-Security-Policy = "frame-ancestors"
|
||||
|
||||
# Multi-key header rules are expressed with multi-line strings.
|
||||
# cache-control = '''
|
||||
# max-age=0,
|
||||
# no-cache,
|
||||
# no-store,
|
||||
# must-revalidate'''
|
Loading…
Reference in New Issue