From e9bd61c0cf75054a86435e4fc8ceef013295fdb8 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 21 Nov 2019 12:26:15 +0100 Subject: [PATCH] add default port to default host --- configuration/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config.go b/configuration/config.go index ebdfbe8..4ba02f5 100644 --- a/configuration/config.go +++ b/configuration/config.go @@ -47,7 +47,7 @@ func InitConfig() error { configFile = flag.String("configFile", "", "Path to YAML configuration file") mode = flag.String("mode", "release", "Select debug/release/test mode (default is release)") port = flag.String("port", "4000", "Port of the backend (default is 4000)") - baseHost = flag.String("base-host", "localhost", "The host at which the backend is hosted (default: localhost)") + baseHost = flag.String("base-host", "localhost:4000", "The host at which the backend is hosted (default: localhost)") basePath = flag.String("base-path", "/api/v2", "The path at which the API routes are located (default /api/v2)") ) flag.Parse()