private sharing handler (#99, #109)

This commit is contained in:
Michael Quigley
2022-11-22 15:31:02 -05:00
parent 49987df381
commit 6807cb3755
5 changed files with 222 additions and 176 deletions

View File

@ -89,3 +89,7 @@ func realRemoteAddress(req *http.Request) string {
}
return ip
}
func proxyUrl(svcName string) string {
return strings.Replace(cfg.Proxy.UrlTemplate, "{svcName}", svcName, -1)
}