mirror of
https://github.com/neocities/neocities.git
synced 2025-04-28 11:12:30 +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
|
send_file path
|
||||||
end
|
end
|
||||||
|
|
||||||
get '/' do
|
get '/?' do
|
||||||
dashboard_if_signed_in
|
dashboard_if_signed_in
|
||||||
slim :index
|
slim :index
|
||||||
end
|
end
|
||||||
|
@ -92,7 +92,7 @@ get '/signout' do
|
||||||
end
|
end
|
||||||
|
|
||||||
# Helper routes to get webalizer stats working, not used by anything important
|
# Helper routes to get webalizer stats working, not used by anything important
|
||||||
get '/sites/:name' do
|
get '/sites/:name/?' do
|
||||||
sites_name_redirect
|
sites_name_redirect
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue