aboutsummaryrefslogtreecommitdiff
path: root/gcp/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'gcp/main.go')
-rw-r--r--gcp/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcp/main.go b/gcp/main.go
index c5c8466..bb792cc 100644
--- a/gcp/main.go
+++ b/gcp/main.go
@@ -31,5 +31,5 @@ func main() {
port = "8080"
}
http.HandleFunc("/", redirect)
- log.Fatal(http.ListenAndServe(":"+port, nil))
+ log.Fatal(http.ListenAndServe(os.Getenv("ADDR")+":"+port, nil))
}