made /parts/ work in URL just as well as /parts
This commit is contained in:
+1
-1
@@ -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())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user