File tree Expand file tree Collapse file tree 1 file changed +21
-10
lines changed Expand file tree Collapse file tree 1 file changed +21
-10
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<configuration >
3-
4- <!--
5- Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380
6- -->
7-
83 <system .webServer>
9- <handlers >
10- <add name =" aspNetCore" path =" *" verb =" *" modules =" AspNetCoreModule" resourceType =" Unspecified" />
11- </handlers >
12- <aspNetCore processPath =" %LAUNCHER_PATH%" arguments =" %LAUNCHER_ARGS%" stdoutLogEnabled =" false" stdoutLogFile =" .\logs\stdout" forwardWindowsAuthToken =" false" />
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 >
1324 </system .webServer>
14- </configuration >
25+ </configuration >
You can’t perform that action at this time.
0 commit comments