mirror of https://github.com/xwiki-labs/cryptpad
Caddyfile: Corrected CORS preflight response
This commit is contained in:
parent
7fff13850f
commit
d58b5125b8
|
@ -208,6 +208,8 @@ your-sandbox-domain.com:443 {
|
|||
handle @blobsAndBlocks {
|
||||
@corsPreflight {
|
||||
method OPTIONS
|
||||
}
|
||||
handle @corsPreflight {
|
||||
header Access-Control-Allow-Origin "https://your-sandbox-domain.com"
|
||||
header Access-Control-Allow-Credentials "true"
|
||||
header Access-Control-Allow-Methods "GET, POST, OPTIONS"
|
||||
|
|
Loading…
Reference in New Issue