Skip to content

Commit

Permalink
Who knows at this point
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 committed Jun 6, 2024
1 parent ad987e3 commit c58e1d9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/express-backend/web.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@
<system.webServer>
<!-- More configuration here -->
<directoryBrowse enabled="true" />
<rewrite>
<rules>
<rule name="React 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="/" />
</rule>
</rules>
</rewrite>
<!-- Add httpErrors errorMode="Detailed" before </system.webServer> closing tag -->
<httpErrors errorMode="Detailed"></httpErrors>
</system.webServer>
Expand Down

0 comments on commit c58e1d9

Please sign in to comment.