1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-02 19:55:18 +02:00

Fix error handling in layout server file and update USING_VERCEL assignment

This commit is contained in:
Sean Morley 2024-04-28 14:00:09 +00:00
parent eed9b2fad2
commit c09028ae40

View file

@ -5,7 +5,7 @@ try {
const env = await import("$env/static/private");
USING_VERCEL = env.USING_VERCEL;
} catch (error) {
console.log(error);
USING_VERCEL = "false";
}
export const load: LayoutServerLoad = async (event) => {