mirror of
https://github.com/nitezs/sub2clash.git
synced 2024-12-23 22:14:41 -05:00
fix
This commit is contained in:
parent
354379b12a
commit
c0e6b62625
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user