From 2cda9097aceb1f2aae5a03a35c0b398cd849c3e5 Mon Sep 17 00:00:00 2001 From: Tilo-K Date: Sat, 8 Jul 2023 10:32:21 +0200 Subject: [PATCH] I'm stupid --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 297bf13..8bff994 100644 --- a/main.go +++ b/main.go @@ -252,7 +252,7 @@ func main() { fs := http.FileServer(http.Dir(filepath.Join(storageDir, "data"))) http.Handle("/", cors(fs)) - port := os.Getenv("Port") + port := os.Getenv("PORT") if port == ""{ port = "60002"