mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-09-13 13:55:24 +00:00
Split out socket config and switch back to toml
crate
basic-toml does not support externally-tagged enum yet. See: https://github.com/dtolnay/basic-toml/issues/8
This commit is contained in:
parent
4f0f1405dc
commit
c5263c607c
7 changed files with 92 additions and 48 deletions
|
@ -16,12 +16,12 @@ path = "/var/lib/blahd/db.sqlite"
|
|||
# Note that parent directory will never be created and must already exist.
|
||||
create = true
|
||||
|
||||
[server]
|
||||
|
||||
[listen]
|
||||
# (Required)
|
||||
# The socket address to listen on.
|
||||
listen = "localhost:8080"
|
||||
# The local address to listen on.
|
||||
address = "localhost:8080"
|
||||
|
||||
[server]
|
||||
# (Required)
|
||||
# The global absolute URL prefix where this service is hosted.
|
||||
# It is for link generation and must not have trailing slash.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue