We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa7a21e commit 740c03cCopy full SHA for 740c03c
api/index.py
@@ -40,8 +40,10 @@ def getdata(name):
40
return returndata
41
class handler(BaseHTTPRequestHandler):
42
def do_GET(self):
43
- path = self.path
44
- user = path.split('?')[1]
+ # 2024-02-21 固定用户名 https://github.com/Zfour/python_github_calendar_api/issues/20
+ # path = self.path
45
+ # user = path.split('?')[1]
46
+ user = 'Barry-Flynn'
47
data = getdata(user)
48
self.send_response(200)
49
self.send_header('Access-Control-Allow-Origin', '*')
0 commit comments