mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
12 lines
381 B
ApacheConf
12 lines
381 B
ApacheConf
RewriteEngine on
|
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
|
|
|
<Files ~ "^swagger\.yaml">
|
|
SetHandler application/x-httpd-php
|
|
<IfModule mod_headers.c>
|
|
Header set Access-Control-Allow-Origin "*"
|
|
Header set Access-Control-Allow-Methods "GET"
|
|
Header set Access-Control-Allow-Headers "X-Requested-With, Content-Type, Accept, Origin, Authorization"
|
|
</IfModule>
|
|
</Files>
|