7 lines
399 B
ApacheConf
7 lines
399 B
ApacheConf
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 Cache-control: "no-store, no-cache, must-revalidate"
|