Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: move dsn output to dev mode
Steven9957f8e290e2
diff --git a/bin/memos/main.go b/bin/memos/main.goindex 4e0f77093..6450a73ad 100644--- a/bin/memos/main.go+++ b/bin/memos/main.go@@ -141,17 +141,20 @@ func init() {}func printGreetings(profile *profile.Profile) {+ if profile.IsDev() {+ println("Development mode is enabled")+ println("DSN: ", profile.DSN)+ }fmt.Printf(`---Server profileversion: %sdata: %s-dsn: %saddr: %sport: %dmode: %sdriver: %s----`, profile.Version, profile.Data, profile.DSN, profile.Addr, profile.Port, profile.Mode, profile.Driver)+`, profile.Version, profile.Data, profile.Addr, profile.Port, profile.Mode, profile.Driver)print(greetingBanner)if len(profile.Addr) == 0 {