1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-23 15:04:41 -05:00
This commit is contained in:
Nite07 2023-09-17 17:02:59 +08:00
parent 354379b12a
commit c0e6b62625

View File

@ -30,10 +30,7 @@ func init() {
LogLevel: "info",
BasePath: "/",
}
err := godotenv.Load()
if err != nil {
return
}
_ = godotenv.Load()
if os.Getenv("PORT") != "" {
atoi, err := strconv.Atoi(os.Getenv("PORT"))
if err != nil {