CoursesLessonsWorkContact
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"?>
<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>


show more
  • React
Comments