Skip to content

Commit

Permalink
fix(server): fix apisix try path routes (#1499)
Browse files Browse the repository at this point in the history
  • Loading branch information
0fatal authored Aug 28, 2023
1 parent f518441 commit 69289d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/gateway/apisix.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class ApisixService {
conf: [
{
name: 'try-path',
value: `{"paths":["$uri", "$uri/", "$uriindex.html", "$uri/index.html", "index.html"], "host": "http://${upstreamNode}/${website.bucketName}"}`,
value: `{"paths":["$uri", "$uri/index.html", "$uriindex.html", "/index.html"], "host": "http://${upstreamNode}/${website.bucketName}"}`,
},
],
},
Expand Down

0 comments on commit 69289d4

Please sign in to comment.