29 lines
530 B
TOML
29 lines
530 B
TOML
[build]
|
|
release = true
|
|
|
|
[serve]
|
|
# The address to serve on.
|
|
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"
|
|
|
|
[[hooks]]
|
|
stage = "pre_build"
|
|
command = "cargo"
|
|
command_arguments = [ "test" ]
|