HMPhuoc commited on
Commit
53ac83e
1 Parent(s): 9627035
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -1,7 +1,9 @@
1
  from flask import Flask, request
2
  from app import judge
 
3
 
4
  app = Flask(__name__)
 
5
 
6
  @app.route("/")
7
  def hello():
 
1
  from flask import Flask, request
2
  from app import judge
3
+ from flask_cors import CORS
4
 
5
  app = Flask(__name__)
6
+ CORS(app)
7
 
8
  @app.route("/")
9
  def hello():