aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vampire.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vampire.lisp b/vampire.lisp
index 2e8f506..dcfb2e3 100644
--- a/vampire.lisp
+++ b/vampire.lisp
@@ -97,9 +97,9 @@
(initialize 'main
:extended-routing t
:static-root (static-directory config))
- (set-on-new-window 'user-home-page :path "/home")
+ (set-on-new-window (when-logged-in? 'user-home-page) :path "/home")
(set-on-new-window 'login-page :path "/login")
- (set-on-new-window 'playlist-page :path "/playlist")
+ (set-on-new-window (when-logged-in? 'playlist-page) :path "/playlist")
(set-on-new-window 'new-accout-page :path "/new-account")
(open-browser))