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) => {