Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Disable ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
aureleoules committed May 2, 2024
1 parent 1c3087a commit 2bb89f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/+layout.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { redirect, type Actions } from "@sveltejs/kit";
import { env } from '$env/dynamic/public'
import { setUser } from "../stores/user.js";

export const ssr = false;

export async function load({fetch}) {
const data = await fetch(`${env.PUBLIC_ENDPOINT}/me`, {
withCredentials: true,
Expand Down

0 comments on commit 2bb89f2

Please sign in to comment.