bitbadger.solutions-theme/public/web.config
Daniel J. Summers 9da1c0fc19 Added web.config
Rules to serve index.html for URLs that don't match a file or a directory (needed for loading a non-home URL)
2019-04-19 16:52:20 -05:00

18 lines
548 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Vue" patternSyntax="Wildcard">
<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>