Commit f35aa8fe authored by Aksel Baardsen's avatar Aksel Baardsen
Browse files

improved port-thing

parent 05d0bc8d
......@@ -10,7 +10,10 @@ import (
func main() {
r := mux.NewRouter()
port := os.Getenv("PORT")
// sets port
port := ""
port = os.Getenv("PORT")
if port == "" {
port = "5000"
}
......
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