Merge "polygerrit-ui: serve on "localhost:8081" rather than ":8081"."

This commit is contained in:
Tao Zhou 2019-12-18 11:56:22 +00:00 committed by Gerrit Code Review
commit d8d51884e4

View File

@ -39,7 +39,7 @@ import (
var (
plugins = flag.String("plugins", "", "comma seperated plugin paths to serve")
port = flag.String("port", ":8081", "Port to serve HTTP requests on")
port = flag.String("port", "localhost:8081", "address to serve HTTP requests on")
host = flag.String("host", "gerrit-review.googlesource.com", "Host to proxy requests to")
scheme = flag.String("scheme", "https", "URL scheme")
cdnPattern = regexp.MustCompile("https://cdn.googlesource.com/polygerrit_ui/[0-9.]*")