Skip to content

Commit 68d77b4

Browse files
authored
Update docs redirect (#208)
1 parent f680dff commit 68d77b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ async function init(prettyPrint: boolean = false, initClients: boolean = true) {
235235
if (isRunningInLambda && !isSwaggerServer) {
236236
// Serve docs from S3
237237
app.get("/api/documentation", (_request, response) => {
238-
response.redirect("/docs/index.html", 308);
238+
response.redirect("/docs/", 308);
239239
});
240240
app.get("/api/documentation/json", (_request, response) => {
241241
response.redirect("/docs/openapi.json", 308);

0 commit comments

Comments
 (0)