Skip to content

Commit 903aa0f

Browse files
committed
111
1 parent 2065f97 commit 903aa0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def getdata(name):
2929
class handler(BaseHTTPRequestHandler):
3030

3131
def do_GET(self):
32-
name = self.headers
32+
name = self.headers.get('path')
3333
self.send_response(200)
3434
self.send_header('Content-type','text/plain')
3535
self.end_headers()

0 commit comments

Comments
 (0)