mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-04 12:45:17 +02:00
Fix error handling in layout server file and update USING_VERCEL assignment
This commit is contained in:
parent
eed9b2fad2
commit
c09028ae40
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ try {
|
||||||
const env = await import("$env/static/private");
|
const env = await import("$env/static/private");
|
||||||
USING_VERCEL = env.USING_VERCEL;
|
USING_VERCEL = env.USING_VERCEL;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
USING_VERCEL = "false";
|
||||||
}
|
}
|
||||||
|
|
||||||
export const load: LayoutServerLoad = async (event) => {
|
export const load: LayoutServerLoad = async (event) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue