1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotify_ynh.git synced 2024-09-03 20:36:26 +02:00

Merge pull request #27 from p1gp1g/CORS

Remove CORS * header
This commit is contained in:
Clément 2021-03-08 15:25:47 +01:00 committed by GitHub
commit 82d63c7f31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,10 +6,6 @@ server:
enabled: false # if https should be enabled enabled: false # if https should be enabled
redirecttohttps: false # redirect to https if site is accessed by http redirecttohttps: false # redirect to https if site is accessed by http
responseheaders: # response headers are added to every response (default: none)
Access-Control-Allow-Origin: "*"
Access-Control-Allow-Methods: "GET,POST"
stream: stream:
allowedorigins: # allowed origins for websocket connections (same origin is always allowed) allowedorigins: # allowed origins for websocket connections (same origin is always allowed)
- ".+.__DOMAIN__" - ".+.__DOMAIN__"