From a2fb982b8f4fbc69b52db268215471d56f7f62bf Mon Sep 17 00:00:00 2001 From: pearl-truss Date: Wed, 31 Jan 2024 16:21:43 -0500 Subject: [PATCH] temp hardcode host to debug --- services/app-api/src/handlers/third_party_API_authorizer.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/app-api/src/handlers/third_party_API_authorizer.ts b/services/app-api/src/handlers/third_party_API_authorizer.ts index 4ec4a5a9e0..a6e84bf107 100644 --- a/services/app-api/src/handlers/third_party_API_authorizer.ts +++ b/services/app-api/src/handlers/third_party_API_authorizer.ts @@ -38,7 +38,9 @@ export const main: APIGatewayTokenAuthorizerHandler = async ( const authToken = event.authorizationToken.replace('Bearer ', '') try { const parsedEvent = JSON.parse(JSON.stringify(event)) - const host = parsedEvent.headers.Host + // const host = parsedEvent.headers.Host + // temp set host + const host = '18.67.65.89' if (host === undefined) { // TODO: remove this log // eslint-disable-next-line