generated from Flycro/laravel-nuxt
wip: Testing SSR + Changed Build
parent
aff6a6b6e4
commit
13a4730c15
|
|
@ -25,4 +25,5 @@ steps:
|
||||||
- pnpm run build
|
- pnpm run build
|
||||||
- find /var/www/html/bookstack.octolabs.net -type f -exec chmod 664 {} \\;
|
- find /var/www/html/bookstack.octolabs.net -type f -exec chmod 664 {} \\;
|
||||||
- find /var/www/html/bookstack.octolabs.net -type d -exec chmod 775 {} \\;
|
- 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
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ const links: NavigationTree[] = [
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
if (authStore.user?.roles.includes('admin')) {
|
/* if (authStore.user?.roles.includes('admin')) {
|
||||||
links.push({
|
links.push({
|
||||||
label: 'Admin',
|
label: 'Admin',
|
||||||
to: '/admin',
|
to: '/admin',
|
||||||
|
|
@ -40,7 +40,7 @@ if (authStore.user?.roles.includes('admin')) {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
}
|
} */
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
|
||||||
|
|
@ -11,13 +11,13 @@ const links = [{
|
||||||
icon: 'i-heroicons-arrow-left-on-rectangle',
|
icon: 'i-heroicons-arrow-left-on-rectangle',
|
||||||
}]
|
}]
|
||||||
|
|
||||||
if (authStore.user?.roles.includes('admin')) {
|
/* if (authStore.user?.roles.includes('admin')) {
|
||||||
links.push({
|
links.push({
|
||||||
label: 'Admin',
|
label: 'Admin',
|
||||||
to: '/admin',
|
to: '/admin',
|
||||||
icon: 'i-heroicons-cog-solid',
|
icon: 'i-heroicons-cog-solid',
|
||||||
})
|
})
|
||||||
}
|
} */
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue