12 lines
No EOL
527 B
ApacheConf
12 lines
No EOL
527 B
ApacheConf
<Files "server">
|
|
ForceType application/json
|
|
Header add Access-Control-Allow-Origin *
|
|
Header add Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"
|
|
Header add Access-Control-Allow-Headers "X-Requested-With, Content-Type, Authorization"
|
|
</Files>
|
|
<Files "client">
|
|
ForceType application/json
|
|
Header add Access-Control-Allow-Origin *
|
|
Header add Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"
|
|
Header add Access-Control-Allow-Headers "X-Requested-With, Content-Type, Authorization"
|
|
</Files> |