Skip to content

armgit / memos

Public Imported from GitHub
0

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.

refactor: remove environment variable binding for instance URL

Johnnyd3ed069ddb1e
diff --git a/cmd/memos/main.go b/cmd/memos/main.go
index cb7bb42c7..bb182b8f7 100644
--- a/cmd/memos/main.go
+++ b/cmd/memos/main.go
@@ -132,9 +132,6 @@ func init() {
viper.SetEnvPrefix("memos")
viper.AutomaticEnv()
- if err := viper.BindEnv("instance-url", "MEMOS_INSTANCE_URL"); err != nil {
- panic(err)
- }
}
func printGreetings(profile *profile.Profile) {