Put all URLs under /api/

This commit is contained in:
2024-07-05 20:00:52 -07:00
parent 714e73aeb1
commit 5fc272054c
6 changed files with 26 additions and 18 deletions

View File

@@ -7,20 +7,7 @@ address = "0.0.0.0"
port = 6758
[[proxy]]
backend = "http://localhost:9345/"
rewrite= "/api/"
[[proxy]]
backend="http://localhost:9345/cid"
[[proxy]]
backend="http://localhost:9345/original"
[[proxy]]
backend="http://localhost:9345/graphiql"
[[proxy]]
backend="http://localhost:9345/graphql"
[[proxy]]
backend="http://localhost:9345/download"
[[proxy]]
backend="http://localhost:9345/view"
backend = "http://localhost:9345/api/"
[[hooks]]
stage = "pre_build"