From d3bf0df93bbe11168c6fd8bcf06b10473b395120 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Tue, 30 Jan 2024 10:55:43 +0100 Subject: [PATCH] store the nwc db in the data directory this makes it easier to backup and use a volume --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 76f8d956..3f1eb60f 100644 --- a/config.go +++ b/config.go @@ -23,7 +23,7 @@ type AppConfig struct { LNDMacaroonFile string `envconfig:"LND_MACAROON_FILE"` Workdir string `envconfig:"WORK_DIR" default:".data"` Port string `envconfig:"PORT" default:"8080"` - DatabaseUri string `envconfig:"DATABASE_URI" default:"nostr-wallet-connect.db"` + DatabaseUri string `envconfig:"DATABASE_URI" default:".data/nwc.db"` CookieSecret string `envconfig:"COOKIE_SECRET"` }