Update vhost-gen templates

This commit is contained in:
cytopia 2018-05-04 08:58:02 +02:00
parent b03a9a1ead
commit 2f73e97f64
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ features:
xdomain_request: | xdomain_request: |
# Allow cross domain request from these hosts # Allow cross domain request from these hosts
SetEnvIf Origin "__REGEX__" AccessControlAllowOrigin=$0$1 SetEnvIf Origin "__REGEX__" AccessControlAllowOrigin=$0
Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT" Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
Header always set Access-Control-Max-Age "0" Header always set Access-Control-Max-Age "0"

View File

@ -167,7 +167,7 @@ features:
xdomain_request: | xdomain_request: |
# Allow cross domain request from these hosts # Allow cross domain request from these hosts
SetEnvIf Origin "__REGEX__" AccessControlAllowOrigin=$0$1 SetEnvIf Origin "__REGEX__" AccessControlAllowOrigin=$0
Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT" Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
Header always set Access-Control-Max-Age "0" Header always set Access-Control-Max-Age "0"