trailing slash api

master
km0 2 years ago
parent 2120230510
commit aa56e70fc0

@ -102,7 +102,7 @@ def get_pads():
def home(): def home():
return render_template('home.html') return render_template('home.html')
@app.route('/api/', methods=['GET', 'POST']) @app.route('/api', methods=['GET', 'POST'])
def api(): def api():
if request.method == 'POST': if request.method == 'POST':

Loading…
Cancel
Save