# Any of these options can be omitted, and the default will be used instead.
# The address/port to bind the web server to.
= "127.0.0.1:8080"
# The base URL of this server. Do not include a trailing slash!
= "https://paste.absolucy.moe"
# Whether the secret key is required to post or not.
= false
# An optional directory where static files will be served from. Static files take priority over pastes!
= "static"
# Maximum size of an upload in bytes. Default: 8 MB
= 8388608
# Maximum size of the HTML cache in bytes. Default: 64 MB
= 67108864
# The path where the SQLite database will be created.
= "sweetpaste.db"
# A password, used for uploading on non-public instances, and deleting *any* paste.
= "hunter2"
# A 32-byte (64 character) key used to encrypt paste IDs. Keep this a secret!
# This NEEDS to be changed!
= "0000000000000000000000000000000000000000000000000000000000000000"
# A list of "trusted" IPs, which will be trusted to provide valid X-Forwarded-For/X-Real-IP headers.
= ["127.0.0.1", "::1"]
[]
# The syntax highlighting theme to use.
# By default, the `base16-ocean.dark`, `base16-eighties.dark`,
# `base16-mocha.dark`, `base16-ocean.light`, `InspiredGitHub`,
# `Solarized (dark)` and `Solarized (light)` themes are available.
= "base16-eighties.dark"
# The folder to load .tmTheme files from.
= "themes"
# The folder to load .tmLanguage files from.
# Expected to include newlines!
= "syntax"