1234567891011121314151617181920212223 |
- <?xml version="1.0"?>
- <configuration>
- <system.webServer>
- <staticContent>
- <remove fileExtension=".webm" />
- <mimeMap fileExtension=".webm" mimeType="video/webm" />
- <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="7.00:00:00" />
- </staticContent>
- <rewrite>
- <rules>
- <rule name="React Routes" stopProcessing="true">
- <match url=".*" />
- <conditions logicalGrouping="MatchAll">
- <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
- <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
- <add input="{REQUEST_URI}" pattern="^/(api)" negate="true" />
- </conditions>
- <action type="Rewrite" url="/" />
- </rule>
- </rules>
- </rewrite>
- </system.webServer>
- </configuration>
|