We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49777fd commit c7ae700Copy full SHA for c7ae700
1 file changed
api/index.py
@@ -36,7 +36,7 @@ def do_GET(self):
36
user = path.split('?')[1]
37
data = getdata(user)
38
self.send_response(200)
39
- self.send_header('Access-Control-Allow-Origin', 'no-cors')
+ self.send_header('Access-Control-Allow-Origin', '*')
40
self.send_header('Content-type', 'application/json')
41
self.end_headers()
42
self.wfile.write(json.dumps(data).encode('utf-8'))
0 commit comments