diff --git a/public/.htaccess b/public/.htaccess index 1f7f89849..f717870af 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,4 +1,4 @@ -SetEnvIf Origin "(https://docs.thetool.xinon.at|https://editor.swagger.io)$" AccessControlAllowOrigin=$0 +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"