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')) { }, ], }) -} +} */