Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/thoda-dev/angular-cli-redirect-script. server config scripts for IIS and Apache for angular cli to make url to work directly in browser
Something went wrong. Try again.
598 B · 17 lines
at junie-init
1234567891011121314151617<?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>