Skip to content

Commit

Permalink
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bin/ci
Original file line number Diff line number Diff line change
@@ -103,6 +103,17 @@ deploy() {
"Suffix": "index.html"
},
"RoutingRules": [
{
"Condition": {
"KeyPrefixEquals": "api/latest/${CURRENT_TAG}/"
},
"Redirect": {
"HttpRedirectCode": "302",
"ReplaceKeyWith": "404",
"Protocol": "https",
"HostName": "crystal-lang.org"
}
},
{
"Condition": {
"KeyPrefixEquals": "api/latest/"

0 comments on commit 2f157a6

Please sign in to comment.