1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-23 22: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", LogLevel: "info",
BasePath: "/", BasePath: "/",
} }
err := godotenv.Load() _ = godotenv.Load()
if err != nil {
return
}
if os.Getenv("PORT") != "" { if os.Getenv("PORT") != "" {
atoi, err := strconv.Atoi(os.Getenv("PORT")) atoi, err := strconv.Atoi(os.Getenv("PORT"))
if err != nil { if err != nil {