Skip to content

Commit

Permalink
temp hardcode host to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pearl-truss committed Jan 31, 2024
1 parent 578cefa commit a2fb982
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/app-api/src/handlers/third_party_API_authorizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2fb982

Please sign in to comment.