Skip to content

Commit

Permalink
Don't indent TOML keys deeper than their sections
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed May 6, 2021
1 parent 68b80d0 commit 708ec66
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
22 changes: 11 additions & 11 deletions config-demo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[app]
# Interface and port where the app will run its webserver.
address = "0.0.0.0:9000"
# Interface and port where the app will run its webserver.
address = "0.0.0.0:9000"

# Database.
[db]
host = "demo-db"
port = 5432
user = "listmonk"
password = "listmonk"
database = "listmonk"
ssl_mode = "disable"
max_open = 25
max_idle = 25
max_lifetime = "300s"
host = "demo-db"
port = 5432
user = "listmonk"
password = "listmonk"
database = "listmonk"
ssl_mode = "disable"
max_open = 25
max_idle = 25
max_lifetime = "300s"
34 changes: 17 additions & 17 deletions config.toml.sample
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
[app]
# Interface and port where the app will run its webserver.
address = "0.0.0.0:9000"
# Interface and port where the app will run its webserver.
address = "0.0.0.0:9000"

# BasicAuth authentication for the admin dashboard. This will eventually
# be replaced with a better multi-user, role-based authentication system.
# IMPORTANT: Leave both values empty to disable authentication on admin
# only where an external authentication is already setup.
admin_username = "listmonk"
admin_password = "listmonk"
# BasicAuth authentication for the admin dashboard. This will eventually
# be replaced with a better multi-user, role-based authentication system.
# IMPORTANT: Leave both values empty to disable authentication on admin
# only where an external authentication is already setup.
admin_username = "listmonk"
admin_password = "listmonk"

# Database.
[db]
host = "db"
port = 5432
user = "listmonk"
password = "listmonk"
database = "listmonk"
ssl_mode = "disable"
max_open = 25
max_idle = 25
max_lifetime = "300s"
host = "db"
port = 5432
user = "listmonk"
password = "listmonk"
database = "listmonk"
ssl_mode = "disable"
max_open = 25
max_idle = 25
max_lifetime = "300s"

0 comments on commit 708ec66

Please sign in to comment.