feat: redirect to first channel in list when going to server url

This commit is contained in:
SauceyRed 2025-05-31 16:35:11 +02:00
parent 5011affd49
commit abf3b248c4
Signed by: sauceyred
GPG key ID: 2BF92EB6D8A5CCA7
2 changed files with 18 additions and 2 deletions

View file

@ -5,8 +5,9 @@
</template>
<script lang="ts" setup>
const guild = await fetchWithApi(`/guilds/${useRoute().params.serverId}`);
console.log("guild:", guild);
definePageMeta({
middleware: "server"
});
</script>