Skip to content
Snippets Groups Projects
Commit dddaf25e authored by Rachel Gaubil's avatar Rachel Gaubil
Browse files

[fix] correct redirection when only chapter in url

parent 6c57d5eb
No related branches found
No related tags found
1 merge request!10Clear xslt
......@@ -12,7 +12,7 @@ def index():
return render_template('index.html.j2')
@app.route('/book<bookNb>')
# @app.route('/book<bookNb>/<chapName>')
@app.route('/book<bookNb>/<chapName>')
@app.route('/book<bookNb>/<chapName>/<visu>')
@app.route('/book<bookNb>/<chapName>/p<pageNb>')
@app.route('/book<bookNb>/<chapName>/p<pageNb>/<visu>')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment