Commit 371d0076 authored by Max Richter's avatar Max Richter
Browse files

Merge branch 'dev' into 'master'

Dev

See merge request !35
parents 69db77c1 b93d3870
Pipeline #1864 canceled with stages
in 49 seconds
......@@ -37,7 +37,7 @@ func Init() {
// Create a new server
srv := &http.Server{
Handler: r,
Addr: "0.0.0.0:8080",
Addr: "0.0.0.0" + getPort(),
// Good practice: enforce timeouts for servers you create!
WriteTimeout: 5 * time.Second,
ReadTimeout: 5 * time.Second,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment