I'm stupid

This commit is contained in:
2023-07-08 10:32:21 +02:00
parent 77131adb72
commit 2cda9097ac

View File

@@ -252,7 +252,7 @@ func main() {
fs := http.FileServer(http.Dir(filepath.Join(storageDir, "data"))) fs := http.FileServer(http.Dir(filepath.Join(storageDir, "data")))
http.Handle("/", cors(fs)) http.Handle("/", cors(fs))
port := os.Getenv("Port") port := os.Getenv("PORT")
if port == ""{ if port == ""{
port = "60002" port = "60002"