mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-22 22:28:22 +03:00
add SPA handling to web.config
This commit is contained in:
@@ -4,5 +4,16 @@
|
||||
<staticContent>
|
||||
<mimeMap fileExtension="." mimeType="application/json" />
|
||||
</staticContent>
|
||||
<rewrite>
|
||||
<rules>
|
||||
<rule name="SPA Redirect" stopProcessing="false">
|
||||
<match url="(.*)" />
|
||||
<conditions>
|
||||
<add input="{REQUEST_FILENAME}"/>
|
||||
</conditions>
|
||||
<action type="Rewrite" url="index.html" appendQueryString="true" />
|
||||
</rule>
|
||||
</rules>
|
||||
</rewrite>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user