This repository was archived by the owner on Aug 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +45
-5
lines changed
Expand file tree Collapse file tree 4 files changed +45
-5
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ jobs:
5959 displayName : ' NPM - Build Prod - AdminUI'
6060 inputs :
6161 command : custom
62- customCommand : ' run build --prod --base-href=/admin-ui/'
62+ customCommand : ' run build -- --base-href=/admin-ui/'
6363 workingDir : src/Frontend/Jp.AdminUI
6464
6565 - task : Npm@1
6666 displayName : ' NPM - Build Prod - UserManagement'
6767 inputs :
6868 command : custom
69- customCommand : ' run build --prod --base-href=/user-management/'
69+ customCommand : ' run build -- --base-href=/user-management/'
7070 workingDir : src/Frontend/Jp.UserManagement
Original file line number Diff line number Diff line change @@ -113,14 +113,14 @@ jobs:
113113 displayName : ' NPM - Build Prod - AdminUI'
114114 inputs :
115115 command : custom
116- customCommand : ' ng build --prod --base-href=/admin-ui/'
116+ customCommand : ' run build -- --base-href=/admin-ui/'
117117 workingDir : src/Frontend/Jp.AdminUI
118118
119119 - task : Npm@1
120120 displayName : ' NPM - Build Prod - UserManagement'
121121 inputs :
122122 command : custom
123- customCommand : ' ng build --prod --base-href=/user-management/'
123+ customCommand : ' run build -- --base-href=/user-management/'
124124 workingDir : src/Frontend/Jp.UserManagement
125125
126126 - task : CopyFiles@2
Original file line number Diff line number Diff line change 2828 "polyfills" : " src/polyfills.ts" ,
2929 "assets" : [
3030 " src/assets" ,
31- " src/silent-refresh.html"
31+ " src/silent-refresh.html" ,
32+ " src/web.config"
3233 ],
3334 "styles" : [
3435 " src/app/core/preloader/preloader.scss" ,
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <configuration >
3+ <system .web>
4+ <httpRuntime maxQueryStringLength =" 32768" maxUrlLength =" 65536" />
5+ </system .web>
6+ <system .webServer>
7+ <handlers >
8+ <remove name =" aspNetCore" />
9+ </handlers >
10+ <security >
11+ <requestFiltering >
12+ <requestLimits maxQueryString =" 32768" />
13+ </requestFiltering >
14+ </security >
15+ <rewrite >
16+ <rules >
17+ <rule name =" Angular" stopProcessing =" true" >
18+ <match url =" ^(?!.*(.js|.bundle.map|.bundle.js.gz|.bundle.css|.bundle.css.gz|.png|.jpg|.ico|.chunk.js|.woff|.woff2|api|.eot|.svg|.ttf|assets|.css)).*$" ignoreCase =" false" />
19+ <conditions logicalGrouping =" MatchAll" >
20+ <add input =" {REQUEST_FILENAME}" matchType =" IsFile" negate =" true" pattern =" " ignoreCase =" false" />
21+ </conditions >
22+ <action type =" Rewrite" url =" /admin-ui/" appendQueryString =" true" />
23+ </rule >
24+ </rules >
25+ </rewrite >
26+ <staticContent >
27+ <remove fileExtension =" .svg" />
28+ <remove fileExtension =" .eot" />
29+ <remove fileExtension =" .woff" />
30+ <remove fileExtension =" .woff2" />
31+ <remove fileExtension =" .json" />
32+ <mimeMap fileExtension =" .svg" mimeType =" image/svg+xml" />
33+ <mimeMap fileExtension =" .eot" mimeType =" application/vnd.ms-fontobject" />
34+ <mimeMap fileExtension =" .woff" mimeType =" application/x-woff" />
35+ <mimeMap fileExtension =" .woff2" mimeType =" application/x-woff" />
36+ <mimeMap fileExtension =" .json" mimeType =" application/json" />
37+ </staticContent >
38+ </system .webServer>
39+ </configuration >
You can’t perform that action at this time.
0 commit comments