aboutsummaryrefslogtreecommitdiff
path: root/server/main.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-30 20:42:05 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-30 20:42:05 +0100
commit868366cf35e2e649fe7265201d527dbb76bbaf68 (patch)
tree2c920dfb6c65382779179c69895c9fcdb542d6af /server/main.go
parent60394fb5352d9869946859cf534c36c92be51700 (diff)
added an endpoint type
Diffstat (limited to 'server/main.go')
-rw-r--r--server/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/main.go b/server/main.go
index f98b114..d6a7aa5 100644
--- a/server/main.go
+++ b/server/main.go
@@ -17,7 +17,7 @@ import (
var (
httpEndpoint = flag.String("http_endpoint", "localhost:6965", "host:port specification of where stfe serves clients")
rpcBackend = flag.String("log_rpc_server", "localhost:6962", "host:port specification of where Trillian serves clients")
- prefix = flag.String("prefix", "/st/v1", "a prefix that proceeds each endpoint path")
+ prefix = flag.String("prefix", "st/v1", "a prefix that proceeds each endpoint path")
trillianID = flag.Int64("trillian_id", 5991359069696313945, "log identifier in the Trillian database")
rpcDeadline = flag.Duration("rpc_deadline", time.Second*10, "deadline for backend RPC requests")
anchorPath = flag.String("anchor_path", "../x509util/testdata/anchors.pem", "path to a file containing PEM-encoded X.509 root certificates")
@@ -55,7 +55,7 @@ func main() {
}
glog.Infof("Configured: %s", i)
- glog.Infof("Serving on %v%v", *httpEndpoint, *prefix)
+ glog.Infof("Serving on %v/%v", *httpEndpoint, *prefix)
srv := http.Server{Addr: *httpEndpoint}
err = srv.ListenAndServe()
if err != http.ErrServerClosed {