Added CORS headers for yaml file
This commit is contained in:
@@ -1 +1,6 @@
|
||||
SetEnvIf Origin "^(https://docs.thetool.xinon.at|https://editor.swagger.io|.*abstellgleis.at)$" AccessControlAllowOrigin=$0
|
||||
Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin
|
||||
Header add Access-Control-Allow-Methods: "GET,POST,OPTIONS"
|
||||
Header add Access-Control-Allow-Headers: "X-Api-Key"
|
||||
|
||||
Header add Cach-control: "no-store, no-cache, must-revalidate"
|
||||
|
||||
Reference in New Issue
Block a user