Last active
July 18, 2018 10:02
-
-
Save MattKovtun/66c4641e1281d1b6e43f81c5bf988701 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask_cors import CORS | |
from flask import Flask, render_template | |
app = Flask(__name__) | |
CORS(app) | |
@app.route("/", methods=["GET"]) | |
def main(): | |
return render_template('index.html') | |
if __name__ == "__main__": | |
app.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment