chore: wip oauth
This commit is contained in:
parent
6755ed6f94
commit
6ea4879190
8 changed files with 75 additions and 10 deletions
|
@ -1,6 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
const token = useCookie('nuxtodon-token')
|
||||
const router = useRouter()
|
||||
// TODO: move to middleware
|
||||
if (!token.value)
|
||||
router.replace('/public')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue