mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-19 23:40:07 +00:00
fix: remove auth requirement (#29)
This commit is contained in:
parent
074da4768e
commit
07667bd3f0
2 changed files with 0 additions and 9 deletions
|
@ -1,8 +1,4 @@
|
|||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
middleware: 'auth',
|
||||
})
|
||||
|
||||
const paginator = masto.trends.getStatuses()
|
||||
</script>
|
||||
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<script setup lang="ts">
|
||||
const token = useCookie('nuxtodon-token')
|
||||
const router = useRouter()
|
||||
if (!token.value)
|
||||
router.replace('/public')
|
||||
|
||||
const { data: timelines } = await useAsyncData('timelines-home', () => masto.timelines.fetchPublic({ local: true }).then(r => r.value))
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue