diff --git a/src/views/CategoryView.vue b/src/views/CategoryView.vue index 4d75c8d..f3f6e2e 100644 --- a/src/views/CategoryView.vue +++ b/src/views/CategoryView.vue @@ -45,7 +45,7 @@ export default { // get rest of streams from api const resData: CategoryData = await getEndpoint( - `api/discover/${this.$route.params.game}/?cursor=${cursor}` + `api/discover/${this.$route.params.game}?cursor=${cursor}` ).catch((err) => { throw err }) diff --git a/src/views/HomepageView.vue b/src/views/HomepageView.vue index 139f886..ec4885b 100644 --- a/src/views/HomepageView.vue +++ b/src/views/HomepageView.vue @@ -59,7 +59,7 @@ export default { const res = await fetch( `${this.protocol}${ import.meta.env.SAFETWITCH_BACKEND_DOMAIN - }/api/discover/?cursor=${cursor}` + }/api/discover?cursor=${cursor}` ) if (!res.ok) { throw new Error('Failed to fetch data')