mirror of
https://github.com/elk-zone/elk
synced 2024-11-27 14:28:10 +09:00
fix: remove auth requirement (#29)
This commit is contained in:
parent
074da4768e
commit
07667bd3f0
@ -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 New Issue
Block a user