Add speedyf/main.py
This commit is contained in:
parent
fe11459c2d
commit
5af0e5b05a
10
speedyf/main.py
Normal file
10
speedyf/main.py
Normal file
@ -0,0 +1,10 @@
|
||||
from flask import Flask, render_template
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route('/', methods=['GET','POST'])
|
||||
def index():
|
||||
if request.method == 'GET':
|
||||
render(index.html)
|
||||
else:
|
||||
handleform()
|
Loading…
Reference in New Issue
Block a user