This commit is contained in:
Janos Dobronszki
2021-05-17 15:01:22 +01:00
committed by GitHub
parent a2dc68b385
commit 114fa6735b
8 changed files with 93 additions and 99 deletions

View File

@@ -23,7 +23,7 @@ type Url struct {
func NewUrl() *Url {
var hp string
cfg, err := config.Get("micro.url_shortener.host_prefix")
cfg, err := config.Get("micro.url.host_prefix")
if err != nil {
hp = cfg.String(hostPrefix)
}