From 8598fa4bbad23e207612b2af7237c169bce86fa3 Mon Sep 17 00:00:00 2001 From: Juanma Hidalgo Date: Tue, 26 Nov 2024 18:22:48 +0100 Subject: [PATCH] feat: add log --- src/components.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components.ts b/src/components.ts index ae5443a..ff7f2fc 100644 --- a/src/components.ts +++ b/src/components.ts @@ -19,6 +19,7 @@ export async function initComponents(): Promise { console.log('corsString: ', corsString) console.log('validCORSJsonString: ', validCORSJsonString) console.log('JSON.parse(validCORSJsonString): ', JSON.parse(validCORSJsonString)) + console.log('hardcoding cors') const cors = { origin: (await config.requireString('CORS_ORIGIN')).split(';').map(origin => new RegExp(origin)),