wip: Testing SSR + Changed Build
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

main
Flycro 2024-03-21 02:12:30 +01:00
parent aff6a6b6e4
commit 13a4730c15
3 changed files with 6 additions and 5 deletions

View File

@ -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

View File

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

View File

@ -11,13 +11,13 @@ const links = [{
icon: 'i-heroicons-arrow-left-on-rectangle',
}]
if (authStore.user?.roles.includes('admin')) {
/* if (authStore.user?.roles.includes('admin')) {
links.push({
label: 'Admin',
to: '/admin',
icon: 'i-heroicons-cog-solid',
})
}
} */
</script>
<template>