<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="ignore-ui" stopProcessing="true">
<match url="^ui" />
<action type="None" />
</rule>
<rule name="ignore-ui-json" stopProcessing="true">
<match url="^pvi-openapi.json" />
<action type="None" />
</rule>
<rule name="slim catch all" enabled="true">
<match url=".*" />
<action type="Rewrite" url="index.php" />
<conditions>
<add input="{URL}" pattern="sync*" negate="true" />
</conditions>
</rule>
</rules>
</rewrite>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Headers" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
|