Removed old route

master
E. Almqvist 3 years ago
parent ce05aed461
commit 3f06407631
  1. 6
      src/app.rb

@ -58,7 +58,7 @@ def error(ret=back)
end
def ratelimit(delta_time, ret="/")
auth_denied "Doing that a bit too fast... Please try again in #{delta_time} seconds.", 429, ret
auth_denied "You are doing that a bit too fast... Please try again in #{delta_time}s.", 429, ret
end
before do
@ -96,10 +96,6 @@ get "/" do
serve :index
end
get "/404" do
serve :"404"
end
# Require all routes
Dir[File.join(__dir__, 'routes', '*.rb')].each { |file| require file }

Loading…
Cancel
Save