mirror of
https://github.com/Tilo-K/ddragon-cdn.git
synced 2026-01-09 16:41:01 +00:00
I'm stupid
This commit is contained in:
2
main.go
2
main.go
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user