From 673e638876cd2030a645d38a19e8b445d248e625 Mon Sep 17 00:00:00 2001 From: Yaroslav Pshenichnikov Date: Fri, 13 Sep 2024 11:42:03 +0300 Subject: [PATCH] Update zoom reverse proxy v2 --- zoom-reverse-proxy/index.mjs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/zoom-reverse-proxy/index.mjs b/zoom-reverse-proxy/index.mjs index 4ab4e86..1fb350e 100644 --- a/zoom-reverse-proxy/index.mjs +++ b/zoom-reverse-proxy/index.mjs @@ -1,5 +1,14 @@ 'use strict'; +import { DynamoDBClient, GetItemCommand } from "@aws-sdk/client-dynamodb"; + +const DEBUG_MODE_ON = true; + +if (!DEBUG_MODE_ON) { + console = console || {}; + console.log = function(){}; +} + const cachedItem = {}; const regionsMap = { regionsMap_placeholder