mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Default domain for gitlab (#1000)
* Add a default domain for gitlab * Remove trailing whitespace
This commit is contained in:
parent
ebea03edcf
commit
0ab72ab7bb
@ -8,6 +8,7 @@
|
||||
* Clocks module now supports `natural` ordering option, [#896](https://github.com/wtfutil/wtf/issues/896) by [@seanstoppable](https://github.com/Seanstoppable)
|
||||
* Exit banner message added, by [@senorprogrammer](https://github.com/senorprogrammer)
|
||||
* [UptimeRobot module added](https://github.com/wtfutil/wtf/pull/983), by [@franga2000](https://github.com/franga2000)
|
||||
* Gitlab module now defaults domain to `https://gitlab.com`
|
||||
|
||||
### 🐞 Fixed
|
||||
|
||||
|
@ -28,7 +28,7 @@ func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *co
|
||||
common: cfg.NewCommonSettingsFromModule(name, defaultTitle, defaultFocusable, ymlConfig, globalConfig),
|
||||
|
||||
apiKey: ymlConfig.UString("apiKey", ymlConfig.UString("apikey", os.Getenv("WTF_GITLAB_TOKEN"))),
|
||||
domain: ymlConfig.UString("domain"),
|
||||
domain: ymlConfig.UString("domain", "https://gitlab.com"),
|
||||
username: ymlConfig.UString("username"),
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user