mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
can have trailing slash
This commit is contained in:
parent
9395b268be
commit
7dfc2407b9
1 changed files with 2 additions and 2 deletions
4
app.rb
4
app.rb
|
@ -26,7 +26,7 @@ get %r{.+} do
|
|||
send_file path
|
||||
end
|
||||
|
||||
get '/' do
|
||||
get '/?' do
|
||||
dashboard_if_signed_in
|
||||
slim :index
|
||||
end
|
||||
|
@ -92,7 +92,7 @@ get '/signout' do
|
|||
end
|
||||
|
||||
# Helper routes to get webalizer stats working, not used by anything important
|
||||
get '/sites/:name' do
|
||||
get '/sites/:name/?' do
|
||||
sites_name_redirect
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue