test prefix stripping

This commit is contained in:
Your Name 2020-07-08 13:56:39 -04:00
parent 969a2462c5
commit 3a411ea621
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@ func main() {
log.Fatal(err)
}
if c.Strip == "" {
c.Strip = "/"
}
frontendProxy := httputil.NewSingleHostReverseProxy(rpURL)
srv := &http.Server{