From cb190319892712d2ac14f0e946fa1220093c1b93 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 28 Jan 2025 18:49:34 -0500 Subject: [PATCH] Less debug --- src/routes/+layout.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts index 7d97be0c..e9e99540 100644 --- a/src/routes/+layout.ts +++ b/src/routes/+layout.ts @@ -62,7 +62,7 @@ export async function load({ fetch, params, parent, route, url }) { // params, r // console.log(`Svelte root +layout.ts route:`, route); // console.log(`Svelte root +layout.ts url:`, url); - let account_id: Promise; + let account_id: any; // Promise; let ae_acct: key_val = { api: ae_api_init, @@ -250,7 +250,9 @@ export async function load({ fetch, params, parent, route, url }) { // params, r message: 'Site lookup aborted or failed! Check the network connection, domain name, and API.' }); }); - console.log(`ALERT response = `, result); + if (log_lvl > 1) { + console.log(`ALERT response = `, result); + } if (result === null) { error(403, { @@ -268,7 +270,7 @@ export async function load({ fetch, params, parent, route, url }) { // params, r console.log(`root +layout.ts: ae_loc_init = `, ae_loc_init); } - log_lvl = 1; + // log_lvl = 0; if (!account_id) { console.log(`root +layout.ts: The account_id was not found!!!`);