open urls with basepath

This commit is contained in:
Nazar Kanaev 2021-01-27 15:46:38 +00:00
parent 1a0db29aa6
commit 8aafb1b729

View File

@ -44,7 +44,7 @@ func (h *Handler) GetAddr() string {
if h.CertFile != "" && h.KeyFile != "" {
proto = "https"
}
return proto + "://" + h.Addr
return proto + "://" + h.Addr + BasePath
}
func (h *Handler) Start() {