Last active
May 22, 2016 19:11
-
-
Save epintos/f2ba43a47bca53a2a6c4 to your computer and use it in GitHub Desktop.
Angular S3 Static Setup
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> | |
<HostName>your-app-dns</HostName> | |
<Protocol>https</Protocol> | |
<ReplaceKeyPrefixWith>#/</ReplaceKeyPrefixWith> | |
</Redirect> | |
</RoutingRule> | |
</RoutingRules> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does this leave the URL intact so that the angular app can process deep links?