Skip to content

Commit

Permalink
store the nwc db in the data directory
Browse files Browse the repository at this point in the history
this makes it easier to backup and use a volume
  • Loading branch information
bumi committed Jan 30, 2024
1 parent cf3c45d commit d3bf0df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down

0 comments on commit d3bf0df

Please sign in to comment.