@ -269,12 +269,14 @@ get "/search" do |env|
templated "search"
end
get "/:path" do |env|
error 404 do |env|
env.redirect "/"
error_message = "404 Page not found"
templated "error"
error 500 do |env|
templated "index"
error_message = "500 Server error"
public_folder "assets"