mirror of https://github.com/usememos/memos.git
refactor: remove environment variable binding for instance URL
This commit is contained in:
parent
0f3c9a467d
commit
d3ed069ddb
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue