manuel-l01 commited on
Commit
3c0b02c
·
1 Parent(s): 4da8ba1

Initial commit

Browse files
Files changed (1) hide show
  1. api.py +1 -1
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://https://inscoreai.netlify.app/.com'
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