mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-19 05:55:19 +00:00
Fix url (#105)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user