remove public_ssr_api_url

This commit is contained in:
maxDorninger
2025-06-08 23:10:37 +02:00
parent ec2493afdb
commit 40a19edc56
26 changed files with 146 additions and 161 deletions

View File

@@ -5,7 +5,7 @@ import {base} from '$app/paths';
import {browser} from "$app/environment";
import {goto} from '$app/navigation';
const apiUrl = browser ? env.PUBLIC_API_URL : env.PUBLIC_SSR_API_URL;
const apiUrl = env.PUBLIC_API_URL;
export const load: LayoutLoad = async ({fetch}) => {
const response = await fetch(apiUrl + '/users/me', {