basic config system

This commit is contained in:
Reid 2023-08-28 16:30:10 -07:00
parent 77ad597963
commit fa1d23cb3e
Signed by: reidlab
GPG key ID: 6C9EAA3364F962C8
8 changed files with 78 additions and 10 deletions

19
config.example.toml Normal file
View file

@ -0,0 +1,19 @@
[general]
# if this path is encountered during path traversal,
# it will be removed. this is useful for instances
# where your absolute domain path is not long enough
# to replace boomlings.com, because you can then point
# it at a different, longer path to fill the gap
#
# example:
# boomlings.com/database/
# example.com/aaaaaaaaaa/
# ^^^^^^^^^^^
# leaving blank will disable this
append_path = ""
# where can your server be accessible?
port = 8000
[accounts]
# allow new accounts to be created
allow_registration = true