Skip to content

Commit ebb52d3

Browse files
add debugging
1 parent 678adf6 commit ebb52d3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/utils.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ export const getAppConfig = cache(async (headers: Headers): Promise<AppConfig> =
4141
const remoteConfig: SandboxConfig = await response.json();
4242
const config: AppConfig = { sandboxId, ...APP_CONFIG_DEFAULTS };
4343

44+
console.log('remoteConfig', remoteConfig);
45+
console.log('prefilter config', config);
46+
4447
for (const [key, entry] of Object.entries(remoteConfig)) {
4548
if (entry === null) continue;
4649
// Only include app config entries that are declared in defaults and, if set,
@@ -56,6 +59,8 @@ export const getAppConfig = cache(async (headers: Headers): Promise<AppConfig> =
5659
}
5760
}
5861

62+
console.log('postfilter config', config);
63+
5964
return config;
6065
} catch (error) {
6166
console.error('ERROR: getAppConfig() - lib/utils.ts', error);

0 commit comments

Comments
 (0)