diff --git a/main.py b/main.py index 4335847..b04ded1 100644 --- a/main.py +++ b/main.py @@ -99,7 +99,7 @@ def catch_all(path): # # Try with .html # if os.path.isfile('templates/' + path + '.html'): # return render_template(path + '.html') - return redirect('/') + return redirect('/?r='+path) # 404 catch all @app.errorhandler(404)