trailing slash api

master
km0 3 years ago
parent 2120230510
commit aa56e70fc0

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

Loading…
Cancel
Save