mirror of
https://github.com/DefectingCat/candy
synced 2025-07-15 16:51:34 +00:00
20 lines
363 B
TOML
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"
|