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