Last active
February 26, 2020 17:36
-
-
Save radiumrasheed/1b1d10924a19d55f8c1cc1299c92be91 to your computer and use it in GitHub Desktop.
angular s3 redirect rule
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RoutingRules> | |
<RoutingRule> | |
<Condition> | |
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> | |
</Condition> | |
<Redirect> | |
<ReplaceKeyPrefixWith>#/</ReplaceKeyPrefixWith> | |
<HttpRedirectCode>302</HttpRedirectCode> | |
</Redirect> | |
</RoutingRule> | |
</RoutingRules> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment