mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
open urls with basepath
This commit is contained in:
parent
1a0db29aa6
commit
8aafb1b729
@ -44,7 +44,7 @@ func (h *Handler) GetAddr() string {
|
|||||||
if h.CertFile != "" && h.KeyFile != "" {
|
if h.CertFile != "" && h.KeyFile != "" {
|
||||||
proto = "https"
|
proto = "https"
|
||||||
}
|
}
|
||||||
return proto + "://" + h.Addr
|
return proto + "://" + h.Addr + BasePath
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *Handler) Start() {
|
func (h *Handler) Start() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user