Revert "Disable CORS"

This reverts commit b5d5e9f9cb.
This commit is contained in:
Harsh Shandilya 2020-01-30 19:55:55 +05:30
parent fcb0f9405e
commit 15bd2591e2
No known key found for this signature in database
GPG key ID: C2E74282C2133D62

View file

@ -7,7 +7,6 @@
dns cloudflare
}
header / {
Access-Control-Allow-Origin *
# Security related changes stolen from https://github.com/searx/searx-docker/blob/master/Caddyfile
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-XSS-Protection "1; mode=block"