mirror of
https://github.com/trafficlunar/api.git
synced 2026-06-27 22:24:08 +00:00
fix: environment variable using wrong name
This commit is contained in:
parent
628ed990f3
commit
3bc58cadbe
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import "os"
|
|||
|
||||
func StartWorkers() {
|
||||
go StartLastFMWorker()
|
||||
if os.Getenv("STATUS") == "true" {
|
||||
if os.Getenv("UPTIME_KUMA_ENABLED") == "true" {
|
||||
go StartStatusWorker()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue