Files
candy/config.example_full.toml
2024-05-11 09:26:23 +08:00

20 lines
363 B
TOML

# mime
default-type = "application/octet-stream"
# add mime types
[types]
wasm = "application/wasm"
[[host]]
ip = "0.0.0.0"
port = 4000
# index file name and format
index = ["index.html"]
# http keep alive timeout
keep-alive = 75
# http process max timeout
process-timeout = 15
[[host.route]]
# route path: GET /
location = "/"
# static file path
root = "./html"