File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <configuration >
3
+ <system .webServer>
4
+ <staticContent >
5
+ <remove fileExtension =" .json" />
6
+ <mimeMap fileExtension =" .json" mimeType =" application/json" />
7
+ <mimeMap fileExtension =" woff" mimeType =" application/font-woff" />
8
+ <mimeMap fileExtension =" woff2" mimeType =" application/font-woff" />
9
+ </staticContent >
10
+ <!-- IIS URL Rewrite for Angular routes -->
11
+ <rewrite >
12
+ <rules >
13
+ <rule name =" Angular Routes" stopProcessing =" true" >
14
+ <match url =" .*" />
15
+ <conditions logicalGrouping =" MatchAll" >
16
+ <add input =" {REQUEST_FILENAME}" matchType =" IsFile" negate =" true" />
17
+ <add input =" {REQUEST_FILENAME}" matchType =" IsDirectory" negate =" true" />
18
+ <add input =" {REQUEST_URI}" pattern =" ^/(api)" negate =" true" />
19
+ </conditions >
20
+ <action type =" Rewrite" url =" /" />
21
+ </rule >
22
+ </rules >
23
+ </rewrite >
24
+ </system .webServer>
25
+ </configuration >
You can’t perform that action at this time.
0 commit comments