Skip to content

Commit

Permalink
azure refresh fix v2 🙏
Browse files Browse the repository at this point in the history
  • Loading branch information
Dymoxz committed Nov 28, 2024
1 parent e851dae commit 9b50dc8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/InstrumentRental-web/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
{
"glob": "**/*",
"input": "apps/InstrumentRental-web/public"
},
{
"glob": "web.config",
"input": "apps/InstrumentRental-web/src",
"output": "."
}
],
"styles": ["apps/InstrumentRental-web/src/styles.css"],
Expand Down
18 changes: 18 additions & 0 deletions apps/InstrumentRental-web/src/web.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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="./index.html" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

0 comments on commit 9b50dc8

Please sign in to comment.