This commit is contained in:
2022-11-23 18:14:47 +08:00
parent f4cb36dbee
commit 7524a3e561

View File

@@ -4,6 +4,7 @@ import (
"errors" "errors"
"log" "log"
"net/http" "net/http"
"os"
"strconv" "strconv"
"itsc/db" "itsc/db"
@@ -385,5 +386,5 @@ func main() {
}) })
log.Println("Started") log.Println("Started")
r.Run(":8081") r.Run(os.Getenv("ITSC_LISTEN"))
} }