staging / CORS: apache syntax fixes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
6e4117cb94
commit
19188af5b0
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
DocumentRoot /srv/web/fedora.im/
|
DocumentRoot /srv/web/fedora.im/
|
||||||
|
|
||||||
<IfModule mod_headers.c>
|
<IfModule mod_headers.c>
|
||||||
Header add 'Access-Control-Allow-Origin: *'
|
Header add Access-Control-Allow-Origin "*"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<LocationMatch "/srv/web/.well-known-matrix*"
|
<LocationMatch "/srv/web/.well-known-matrix*">
|
||||||
<IfModule mod_headers.c>
|
<IfModule mod_headers.c>
|
||||||
Header add 'Access-Control-Allow-Origin: *'
|
Header add Access-Control-Allow-Origin "*"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
</LocationMatch>
|
</LocationMatch>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue