docserver/docs/serv_paths_settings.md
Jesús Pérez 129314b8ce
Some checks are pending
Install / Cargo install on ubuntu-latest (push) Waiting to run
chore: update docs
2024-08-14 18:21:59 +01:00

815 B

Serv Paths config settings

serv_paths.toml

[[serv_paths]]
src_path = "assets"
url_path = "/assets"
not_found = ""
not_auth = "/"
is_restricted = false

[[serv_paths]]
src_path = "html"
url_path = "/html"
not_found = ""
not_auth = "/"
is_restricted = false

[[serv_paths]]
src_path = "docs"
url_path = "/docs"
not_found = ""
not_auth = "/login"
is_restricted = true

[[serv_paths]]
src_path = "dist"
url_path = "/dist"
not_found = ""
not_auth = "/dist"
is_restricted = false

[[serv_paths]]
src_path = "docserver"
url_path = "/docserver"
not_found = ""
roles = "dev"
redirect_to = "/login"
not_auth = "/login"
is_restricted = true

[[serv_paths]]
src_path = "srcdocserver"
url_path = "/srcdocserver"
not_found = ""
roles = "dev,cl"
redirect_to = "/login"
not_auth = "/login"
is_restricted = true