mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
add default port to default host
This commit is contained in:
parent
7d05fa5f08
commit
e9bd61c0cf
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue