kiran6969 commited on
Commit
999e0c3
·
1 Parent(s): cd698c9

CORS origin added

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -9,7 +9,7 @@ import os
9
  import time
10
 
11
  app = Flask(__name__)
12
- CORS(app, origins='*')
13
 
14
  @app.route("/healthz")
15
  def health():
 
9
  import time
10
 
11
  app = Flask(__name__)
12
+ CORS(app, origins= ["https://autoencoderkiranfrontend.vercel.app/"])
13
 
14
  @app.route("/healthz")
15
  def health():