refactor: remove environment variable binding for instance URL

pull/5517/head^2
Johnny 4 months ago
parent 0f3c9a467d
commit d3ed069ddb

@ -132,9 +132,6 @@ func init() {
viper.SetEnvPrefix("memos") viper.SetEnvPrefix("memos")
viper.AutomaticEnv() viper.AutomaticEnv()
if err := viper.BindEnv("instance-url", "MEMOS_INSTANCE_URL"); err != nil {
panic(err)
}
} }
func printGreetings(profile *profile.Profile) { func printGreetings(profile *profile.Profile) {

Loading…
Cancel
Save