We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 678adf6 commit f7be5f4Copy full SHA for f7be5f4
lib/utils.ts
@@ -26,6 +26,11 @@ export function cn(...inputs: ClassValue[]) {
26
// > React will invalidate the cache for all memoized functions for each server request.
27
export const getAppConfig = cache(async (headers: Headers): Promise<AppConfig> => {
28
if (CONFIG_ENDPOINT) {
29
+ console.log('getAppConfig');
30
+ console.log('CONFIG_ENDPOINT', CONFIG_ENDPOINT);
31
+ console.log('SANDBOX_ID', SANDBOX_ID);
32
+ console.log('headers', headers);
33
+
34
const sandboxId = SANDBOX_ID ?? headers.get('x-sandbox-id') ?? '';
35
36
try {
0 commit comments