mirror of
https://github.com/openziti/zrok.git
synced 2025-08-16 19:01:16 +02:00
more services -> shares (#144)
This commit is contained in:
@ -102,6 +102,6 @@ func realRemoteAddress(req *http.Request) string {
|
||||
return ip
|
||||
}
|
||||
|
||||
func proxyUrl(svcToken, template string) string {
|
||||
return strings.Replace(template, "{svcToken}", svcToken, -1)
|
||||
func proxyUrl(shrToken, template string) string {
|
||||
return strings.Replace(template, "{token}", shrToken, -1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user