Skip to content

Commit

Permalink
lightning: fix web page not showing when not using server mode (pingc…
Browse files Browse the repository at this point in the history
…ap#337)

Co-authored-by: Ian <[email protected]>
  • Loading branch information
kennytm and IANTHEREAL authored Jun 24, 2020
1 parent 1dbbf30 commit f8a9b65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lightning/lightning.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ func (l *Lightning) handleGetTask(w http.ResponseWriter) {

if l.taskCfgs != nil {
response.QueuedIDs = l.taskCfgs.AllIDs()
} else {
response.QueuedIDs = []int64{}
}

l.cancelLock.Lock()
Expand Down

0 comments on commit f8a9b65

Please sign in to comment.