Create pipe in tmp directory instead of cwd

This commit is contained in:
Gabe Kangas
2020-06-01 17:42:36 -07:00
parent 161aaeec8d
commit d0ec846b30
4 changed files with 12 additions and 6 deletions

View File

@ -50,5 +50,7 @@ func startChatServer() {
// static files
http.Handle("/", http.FileServer(http.Dir("webroot")))
log.Printf("Starting public web server on port %d", configuration.WebServerPort)
log.Fatal(http.ListenAndServe(":"+strconv.Itoa(configuration.WebServerPort), nil))
}