Skip to content

Commit

Permalink
chore(): add webconfig to match routes
Browse files Browse the repository at this point in the history
  • Loading branch information
ju4n97 committed Oct 17, 2020
1 parent 01e46ae commit 43813f9
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/webconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>

<system.webServer>

<rewrite>

<rules>

<rule name="Angular Routes" stopProcessing="true">

<match url=".*" />

<conditions logicalGrouping="MatchAll">

<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />

<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />

</conditions>

<action type="Rewrite" url="/" />

<!--<action type="Rewrite" url="/" />-->

</rule>

</rules>

</rewrite>

</system.webServer>

</configuration>

0 comments on commit 43813f9

Please sign in to comment.