diff --git a/run.py b/run.py index b5cb46f..c45ce9d 100644 --- a/run.py +++ b/run.py @@ -1,5 +1,7 @@ from app import create_app +from flask_cors import CORS app = create_app() +CORS(app) def swap_latlon(coords): @@ -12,4 +14,4 @@ def swap_latlon(coords): ] if __name__ == '__main__': - app.run(debug=True, port=5000) \ No newline at end of file + app.run(debug=True, host="0.0.0.0", port=5000) \ No newline at end of file