Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
crstlnz authored Jul 15, 2024
1 parent 8a110f4 commit de1ecfe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jkt48showroom",
"type": "module",
"version": "0.13.7",
"version": "0.13.8",
"packageManager": "pnpm@8.9.0+sha1.01c55344d677f3b481c6bb6ffba9a6b3c6dbd91d",
"engines": {
"node": "20.x.x"
Expand Down
8 changes: 6 additions & 2 deletions plugins/init.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ export default defineNuxtPlugin(async () => {
const { checkAuth } = useAuth()
await checkAuth()

const { setVersion } = useSettings()
setVersion(pkg.version)
try{
const { setVersion } = useSettings()
setVersion(pkg.version)
}catch(e){
console.error(e)
}
})

0 comments on commit de1ecfe

Please sign in to comment.