From d3ed069ddb1ed9ea9f5362a579fe47a8f8b14837 Mon Sep 17 00:00:00 2001 From: Johnny Date: Tue, 20 Jan 2026 23:45:59 +0800 Subject: [PATCH] refactor: remove environment variable binding for instance URL --- cmd/memos/main.go | 3 --- 1 file changed, 3 deletions(-) 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) {