We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 122675a commit fe82a34Copy full SHA for fe82a34
docs/aws-config.json
@@ -8,7 +8,20 @@
8
"RoutingRules": [
9
{
10
"Condition": {
11
- "KeyPrefixEquals": "api/latest/${CRYSTAL_VERSION}/"
+ "HttpErrorCodeReturnedEquals": "404",
12
+ "KeyPrefixEquals": "api/1"
13
+ },
14
+ "Redirect": {
15
+ "HostName": "crystal-lang.org",
16
+ "HttpRedirectCode": "302",
17
+ "Protocol": "https",
18
+ "ReplaceKeyWith": "api/${CRYSTAL_VERSION}/404.html"
19
+ }
20
21
+ {
22
+ "Condition": {
23
24
+ "KeyPrefixEquals": "api/0"
25
},
26
"Redirect": {
27
"HostName": "crystal-lang.org",
0 commit comments