made /parts/ work in URL just as well as /parts

pull/3/head
Marek Baczynski 6 years ago
parent c886f2e860
commit 44adb43466

@ -54,7 +54,7 @@ def serveImage(img):
img_io.seek(0)
return send_file(img_io, mimetype='image/png')
@app.route('/parts')
@app.route('/parts', strict_slashes=False)
def index():
return render_template('partsearch.html', containers=getContainers())

Loading…
Cancel
Save