rewrite-2 #2
1
main.go
1
main.go
@ -28,7 +28,6 @@ func main() {
|
|||||||
viper.SetConfigType("yaml")
|
viper.SetConfigType("yaml")
|
||||||
Homeserver := viper.GetString("homeserver")
|
Homeserver := viper.GetString("homeserver")
|
||||||
viper.SetDefault("domain", Homeserver)
|
viper.SetDefault("domain", Homeserver)
|
||||||
viper.SetDefault("statefile", "simpstate")
|
|
||||||
Username := viper.GetString("username")
|
Username := viper.GetString("username")
|
||||||
Password := viper.GetString("password")
|
Password := viper.GetString("password")
|
||||||
Token := viper.GetString("access_token")
|
Token := viper.GetString("access_token")
|
||||||
|
Loading…
Reference in New Issue
Block a user