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!!!`);