mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-13 00:02:37 +10:00
small fixes & SSR disabled
SSR was causing weird issues where error pages would flash because the user wasn't logged in. I'm disabling it for now, but I will eventually look into ways to fix the issue and re-enable it.
This commit is contained in:
@ -134,7 +134,11 @@ import { CheckCircleIcon } from "@heroicons/vue/24/outline";
|
||||
const route = useRoute();
|
||||
const clientId = route.params.id;
|
||||
|
||||
const clientData = await useFetch(`/api/v1/client/auth/callback?id=${clientId}`);
|
||||
const headers = useRequestHeaders(["cookie"]);
|
||||
const clientData = await useFetch(
|
||||
`/api/v1/client/auth/callback?id=${clientId}`,
|
||||
{ headers }
|
||||
);
|
||||
|
||||
const completed = ref(false);
|
||||
const error = ref();
|
||||
|
||||
Reference in New Issue
Block a user