Spaces:
Running
Running
Commit
·
3c0b02c
1
Parent(s):
4da8ba1
Initial commit
Browse files
api.py
CHANGED
@@ -17,7 +17,7 @@ CORS(app)
|
|
17 |
@app.after_request
|
18 |
def add_cors_headers(response):
|
19 |
# Allow only your domain
|
20 |
-
response.headers['Access-Control-Allow-Origin'] = 'https://
|
21 |
response.headers['Access-Control-Allow-Methods'] = 'GET, POST'
|
22 |
response.headers['Access-Control-Allow-Headers'] = 'Content-Type'
|
23 |
return response
|
|
|
17 |
@app.after_request
|
18 |
def add_cors_headers(response):
|
19 |
# Allow only your domain
|
20 |
+
response.headers['Access-Control-Allow-Origin'] = 'https://inscoreai.netlify.app/'
|
21 |
response.headers['Access-Control-Allow-Methods'] = 'GET, POST'
|
22 |
response.headers['Access-Control-Allow-Headers'] = 'Content-Type'
|
23 |
return response
|