Skip to content

Commit e17a2e6

Browse files
Update app.py
1 parent b14d30f commit e17a2e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from flask_cors import CORS
1414

1515
app = Flask(__name__, static_folder="static", template_folder="../frontend")
16-
CORS(app)
16+
CORS(app, resources={r"/*": {"origins": "https://hariprashad-ravikumar.github.io"}})
1717
@app.route("/")
1818
def home():
1919
return render_template("index.html", summary="", log="", forecast="", plot_url=None)

0 commit comments

Comments
 (0)