Created
March 14, 2017 02:28
-
-
Save chgc/80f0f5880c836648b047fcd437ed2706 to your computer and use it in GitHub Desktop.
SPA rewrite rule - web.config version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<rewrite> | |
<rules> | |
<rule name="SPA" stopProcessing="true"> | |
<match url=".*" /> | |
<action type="Rewrite" url="/" /> | |
<conditions> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> | |
</conditions> | |
</rule> | |
</rules> | |
</rewrite> | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment