Skip to content

Commit 0106e09

Browse files
committedMar 12, 2024
feat: remove hard-coded user agent string which is unnecessary to fire a successful call
1 parent d3dd8f7 commit 0106e09

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎app/handler.py

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def get_question_of_today():
4545
},
4646
headers={
4747
"authority": "leetcode.com",
48-
"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",
4948
}
5049
)
5150

0 commit comments

Comments
 (0)