Skip to content

Commit

Permalink
fix: added web.config to fix reload crash in azure
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutosh7i committed Mar 5, 2024
1 parent 58d98e4 commit d0f9ca7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/chakra-client/web.config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?xml version="1.0"?> <configuration> <system.webServer> <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" /> <add input="{REQUEST_URI}" pattern="^/(api)" negate="true" /> </conditions> <action type="Rewrite" url="/" /> </rule> </rules> </rewrite> </system.webServer> </configuration>

0 comments on commit d0f9ca7

Please sign in to comment.