Skip to content

Commit bfa2cc6

Browse files
committed
test with index.html
Signed-off-by: CrazyMax <[email protected]>
1 parent a9352d2 commit bfa2cc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/releaser/cloudfront-lambda-redirects.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ exports.handler = (event, context, callback) => {
1818
headers: {
1919
location: [{
2020
key: 'Location',
21-
value: redirects[key],
21+
value: redirects[key] + "/index.html",
2222
}],
2323
},
2424
}
@@ -44,7 +44,7 @@ exports.handler = (event, context, callback) => {
4444
headers: {
4545
location: [{
4646
key: 'Location',
47-
value: newlocation,
47+
value: newlocation + "/index.html",
4848
}],
4949
},
5050
}

0 commit comments

Comments
 (0)