Browse Source

Remove default from pdf route

JoostSijm 6 years ago
parent
commit
c950b12c21
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/flaskr.py

+ 1 - 1
app/flaskr.py

@@ -19,7 +19,7 @@ def index():
     return send_from_directory('static', 'index.html')
 
 
-@app.route("/tutorial/<document>.pdf", defaults={"document": "book"})
+@app.route("/tutorial/<document>.pdf")
 def tutorial_document(document):
     """Display tutorial document"""
     return send_from_directory('static', 'tutorial/%s.pdf' % document)