Skip to content

Commit

Permalink
feat: remove hard-coded user agent string which is unnecessary to fir…
Browse files Browse the repository at this point in the history
…e a successful call
  • Loading branch information
icelam committed Mar 12, 2024
1 parent d3dd8f7 commit 0106e09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def get_question_of_today():
},
headers={
"authority": "leetcode.com",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
}
)

Expand Down

0 comments on commit 0106e09

Please sign in to comment.