Commit d3ed069d authored by Johnny's avatar Johnny

refactor: remove environment variable binding for instance URL

parent 0f3c9a46
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment