Skip to content

Commit ff18945

Browse files
authored
Create main.py
1 parent af5f6fc commit ff18945

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

main.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from flask import Flask, render_template, redirect, url_for
2+
app = Flask(__name__)
3+
4+
@app.route('/')
5+
def main():
6+
return render_template('index.html')
7+
8+
if __name__ == '__main__':
9+
app.run(debug=True)

0 commit comments

Comments
 (0)