summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/dashing.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dashing.rb b/lib/dashing.rb
index 935a031..f5b60ca 100644
--- a/lib/dashing.rb
+++ b/lib/dashing.rb
@@ -56,6 +56,7 @@ get '/events', provides: 'text/event-stream' do
end
get '/' do
+ protected!
begin
redirect "/" + (settings.default_dashboard || first_dashboard).to_s
rescue NoMethodError => e