40 lines
1.4 KiB
TOML
40 lines
1.4 KiB
TOML
[app]
|
|
name = "My App"
|
|
description = "Developed with the amazing PageTop framework."
|
|
# Default theme.
|
|
theme = "Default"
|
|
# Default language (localization).
|
|
language = "en-US"
|
|
# Default text direction: "ltr", "rtl", or "auto".
|
|
direction = "ltr"
|
|
# Startup banner: "Off", "Slant", "Small", "Speed", or "Starwars".
|
|
startup_banner = "Slant"
|
|
|
|
[dev]
|
|
# Static files required by the app are integrated by default into the executable
|
|
# binary. However, during development, it can be useful to serve these files
|
|
# from their own directory to avoid recompiling every time they are modified. In
|
|
# this case, just indicate the full path to the project's root directory.
|
|
pagetop_project_dir = ""
|
|
|
|
[log]
|
|
# Execution trace: "Error", "Warn", "Info", "Debug", or "Trace".
|
|
# For example: "Error,actix_server::builder=Info,tracing_actix_web=Debug".
|
|
tracing = "Info"
|
|
# In terminal ("Stdout") or files "Daily", "Hourly", "Minutely", or "Endless".
|
|
rolling = "Stdout"
|
|
# Directory for trace files (if rolling != "Stdout").
|
|
path = "log"
|
|
# Prefix for trace files (if rolling != "Stdout").
|
|
prefix = "tracing.log"
|
|
# Traces format: "Full", "Compact", "Pretty", or "Json".
|
|
format = "Full"
|
|
|
|
[server]
|
|
# Web server config.
|
|
bind_address = "localhost"
|
|
bind_port = 8088
|
|
# Session cookie duration (in seconds), i.e., the time from when the session is
|
|
# created until the cookie expires. A value of 0 indicates "until the browser is
|
|
# closed". By default, it is one week.
|
|
session_lifetime = 604800
|