mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 11:39:16 +01:00
refactor: ♻️ Disable SSR, always build as static
This commit is contained in:
parent
650d916062
commit
ca824a2a1a
3 changed files with 12 additions and 19 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue