ht2 / app.py
Geek7's picture
Update app.py
0442bbb verified
raw
history blame contribute delete
272 Bytes
from flask import Flask, render_template
from flask_cors import CORS # Import CORS
app = Flask(__name__)
# Enable CORS for the entire app
CORS(app)
@app.route('/')
def home():
return render_template('index.html')
if __name__ == "__main__":
app.run(debug=True)