We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b14d30f commit e17a2e6Copy full SHA for e17a2e6
backend/app.py
@@ -13,7 +13,7 @@
13
from flask_cors import CORS
14
15
app = Flask(__name__, static_folder="static", template_folder="../frontend")
16
-CORS(app)
+CORS(app, resources={r"/*": {"origins": "https://hariprashad-ravikumar.github.io"}})
17
@app.route("/")
18
def home():
19
return render_template("index.html", summary="", log="", forecast="", plot_url=None)
0 commit comments