khatru: support path in getBaseURL().
This commit is contained in:
@@ -181,5 +181,6 @@ func (rl *Relay) getBaseURL(r *http.Request) string {
|
|||||||
proto = "https"
|
proto = "https"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return proto + "://" + host
|
|
||||||
|
return proto + "://" + host + r.URL.Path
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user