fix: use data_dir from config.toml if present

fixes: https://todo.sr.ht/~gheartsfield/nostr-rs-relay/64
This commit is contained in:
Greg Heartsfield
2023-01-16 17:21:12 -06:00
parent cf3e67500f
commit 585fdd3884
3 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ description = "A newly created nostr-rs-relay.\n\nCustomize this with your own i
# Directory for SQLite files. Defaults to the current directory. Can
# also be specified (and overriden) with the "--db dirname" command
# line option.
data_directory = "."
#data_directory = "."
# Use an in-memory database instead of 'nostr.db'.