hotfixed the hotfix
This commit is contained in:
@@ -204,7 +204,7 @@ def serve_deck(deck, path='index.html'):
|
|||||||
if slidev_all_pattern.match(request.path):
|
if slidev_all_pattern.match(request.path):
|
||||||
return send_from_directory(deck_path, 'index.html')
|
return send_from_directory(deck_path, 'index.html')
|
||||||
|
|
||||||
if deck.name == "tut-08" and path == 'index.html':
|
if deck == "tut-08" and path == 'index.html':
|
||||||
return send_from_directory(deck_path, 'slides08.pdf')
|
return send_from_directory(deck_path, 'slides08.pdf')
|
||||||
|
|
||||||
requested_file = os.path.join(deck_path, path)
|
requested_file = os.path.join(deck_path, path)
|
||||||
|
|||||||
Reference in New Issue
Block a user