2024-06-04 18:46:10 +00:00
|
|
|
port = 8080
|
|
|
|
# port = 8443
|
|
|
|
https = false
|
2024-06-15 21:15:28 +00:00
|
|
|
# @TODO how to import `pkg/frontend.js` with enabled cache busting?
|
|
|
|
# @TODO add a switch to enable Typescript generator in mzoon?
|
|
|
|
cache_busting = false
|
2024-05-27 19:24:46 +00:00
|
|
|
backend_log_level = "warn" # "error" / "warn" / "info" / "debug" / "trace"
|
|
|
|
|
|
|
|
[redirect]
|
|
|
|
port = 8081
|
|
|
|
enabled = false
|
|
|
|
|
|
|
|
[cors]
|
|
|
|
origins = ["*"]
|
|
|
|
|
|
|
|
[watch]
|
|
|
|
frontend = [
|
|
|
|
"public",
|
|
|
|
"frontend/Cargo.toml",
|
|
|
|
"frontend/src",
|
2024-06-08 23:38:44 +00:00
|
|
|
"frontend/typescript/bundles",
|
|
|
|
"shared/Cargo.toml",
|
|
|
|
"shared/src",
|
2024-05-27 19:24:46 +00:00
|
|
|
]
|
|
|
|
backend = [
|
|
|
|
"backend/Cargo.toml",
|
|
|
|
"backend/src",
|
2024-10-08 16:02:49 +00:00
|
|
|
"backend/globals.js",
|
2024-06-15 21:15:28 +00:00
|
|
|
"backend/index.js",
|
|
|
|
"backend/style.css",
|
2024-05-27 19:24:46 +00:00
|
|
|
]
|