refactor: ♻️ Disable SSR, always build as static

This commit is contained in:
Jesse Wierzbinski 2024-12-04 12:53:43 +01:00
parent 650d916062
commit ca824a2a1a
No known key found for this signature in database
3 changed files with 12 additions and 19 deletions

View file

@ -6,11 +6,7 @@ import { Alert, AlertDescription, AlertTitle } from "~/components/ui/alert";
import { Button } from "~/components/ui/button";
import { NuxtLink } from "#components";
const {
public: { apiHost },
} = useRuntimeConfig();
const host = new URL(apiHost).host;
const host = new URL(useBaseUrl().value).host;
const instance = useInstanceFromClient(new Client(new URL(useBaseUrl().value)));
const { error, error_description } = useUrlSearchParams();
</script>