Skip to content

Commit d3ed069

Browse files
committed
refactor: remove environment variable binding for instance URL
1 parent 0f3c9a4 commit d3ed069

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd/memos/main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ func init() {
132132

133133
viper.SetEnvPrefix("memos")
134134
viper.AutomaticEnv()
135-
if err := viper.BindEnv("instance-url", "MEMOS_INSTANCE_URL"); err != nil {
136-
panic(err)
137-
}
138135
}
139136

140137
func printGreetings(profile *profile.Profile) {

0 commit comments

Comments
 (0)