Merge "polygerrit-ui: serve on "localhost:8081" rather than ":8081"."
This commit is contained in:
commit
d8d51884e4
@ -39,7 +39,7 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
plugins = flag.String("plugins", "", "comma seperated plugin paths to serve")
|
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")
|
host = flag.String("host", "gerrit-review.googlesource.com", "Host to proxy requests to")
|
||||||
scheme = flag.String("scheme", "https", "URL scheme")
|
scheme = flag.String("scheme", "https", "URL scheme")
|
||||||
cdnPattern = regexp.MustCompile("https://cdn.googlesource.com/polygerrit_ui/[0-9.]*")
|
cdnPattern = regexp.MustCompile("https://cdn.googlesource.com/polygerrit_ui/[0-9.]*")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user