Skip to content

Commit 43813f9

Browse files
committed
chore(): add webconfig to match routes
1 parent 01e46ae commit 43813f9

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

src/webconfig.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
4+
<system.webServer>
5+
6+
<rewrite>
7+
8+
<rules>
9+
10+
<rule name="Angular Routes" stopProcessing="true">
11+
12+
<match url=".*" />
13+
14+
<conditions logicalGrouping="MatchAll">
15+
16+
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
17+
18+
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
19+
20+
</conditions>
21+
22+
<action type="Rewrite" url="/" />
23+
24+
<!--<action type="Rewrite" url="/" />-->
25+
26+
</rule>
27+
28+
</rules>
29+
30+
</rewrite>
31+
32+
</system.webServer>
33+
34+
</configuration>

0 commit comments

Comments
 (0)