Skip to content

Commit

Permalink
修复不自动刷新session
Browse files Browse the repository at this point in the history
  • Loading branch information
yxw21 committed Dec 26, 2022
1 parent 96cca5e commit 1c90c24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qqchatgpt.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func main() {
defer closeBrowser()
config.Browser = browser
config.Session.Browser = browser
config.Session.AutoRefresh()
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
if err = helpers.AutoLoadDevice(); err != nil {
Expand Down

0 comments on commit 1c90c24

Please sign in to comment.