feat: disable SSR
This commit is contained in:
parent
e59b3e5db2
commit
a6578155ae
29 changed files with 109 additions and 175 deletions
|
@ -1,12 +0,0 @@
|
|||
import { login } from 'masto'
|
||||
|
||||
export default defineNuxtPlugin((nuxt) => {
|
||||
const { server, token } = useAppCookies()
|
||||
|
||||
const masto = login({
|
||||
url: `https://${server.value}`,
|
||||
accessToken: token.value || undefined,
|
||||
})
|
||||
|
||||
nuxt.$masto = masto
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue