Signup to watch this video
It's totally Free
Already have an account?

Deploy to Azure

03:55 · March 26, 2018 · Dimi Mikadze

Click show more to see code for web.config

<?xml version="1.0"?>
  <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" />
  <action type="Rewrite" url="/" />

show more
  • React