26 lines
906 B
XML
26 lines
906 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<configuration>
|
|
<system.webServer>
|
|
<staticContent>
|
|
<mimeMap fileExtension=".amr" mimeType="audio/amr" />
|
|
</staticContent>
|
|
<httpProtocol>
|
|
<customHeaders>
|
|
<add name="Access-Control-Allow-Origin" value="*" />
|
|
</customHeaders>
|
|
</httpProtocol>
|
|
<rewrite>
|
|
<rules>
|
|
<rule name="rsync" stopProcessing="true">
|
|
<match url="gui/(.*)" />
|
|
<conditions>
|
|
<add input="{CACHE_URL}" pattern="(.+)s://" />
|
|
<add input="{CACHE_URL}" pattern="(.*)s://" />
|
|
</conditions>
|
|
<action type="Rewrite" url="{C:1}://localhost:8888/gui/{R:1}" />
|
|
</rule>
|
|
</rules>
|
|
</rewrite>
|
|
</system.webServer>
|
|
</configuration>
|