Add speedyf/main.py

This commit is contained in:
Fred Boniface 2024-04-30 19:34:30 +01:00
parent fe11459c2d
commit 5af0e5b05a

10
speedyf/main.py Normal file
View 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()