From 13a4730c15abe6fb251ce79d9573991224768be4 Mon Sep 17 00:00:00 2001 From: Flycro Date: Thu, 21 Mar 2024 02:12:30 +0100 Subject: [PATCH] wip: Testing SSR + Changed Build --- .drone.yml | 3 ++- nuxt/components/Navigation.vue | 4 ++-- nuxt/components/UserDropdown.vue | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index d4ef964..255a87b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,4 +25,5 @@ steps: - pnpm run build - find /var/www/html/bookstack.octolabs.net -type f -exec chmod 664 {} \\; - find /var/www/html/bookstack.octolabs.net -type d -exec chmod 775 {} \\; - - pm2 restart ecosystem.config.cjs + - pm2 stop ecosystem.config.cjs + - pm2 start ecosystem.config.cjs diff --git a/nuxt/components/Navigation.vue b/nuxt/components/Navigation.vue index 56f8059..1480e99 100644 --- a/nuxt/components/Navigation.vue +++ b/nuxt/components/Navigation.vue @@ -22,7 +22,7 @@ const links: NavigationTree[] = [ }, ] -if (authStore.user?.roles.includes('admin')) { +/* if (authStore.user?.roles.includes('admin')) { links.push({ label: 'Admin', to: '/admin', @@ -40,7 +40,7 @@ if (authStore.user?.roles.includes('admin')) { }, ], }) -} +} */