Files
document-server-integration/web/documentserver-example/php/web.config
Alexandr Fedorov 1dc5e67da6 php: fix cors
2020-11-13 11:48:40 +03:00

17 lines
459 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
<system.webServer>
<defaultDocument enabled="true" />
<httpErrors errorMode="Detailed"/>
<urlCompression doDynamicCompression="false"/>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>