From 59667de9b5c01cdf0efe0357bbf7076694e3ad2a Mon Sep 17 00:00:00 2001 From: Nikolas Haimerl Date: Fri, 17 Jan 2025 15:16:45 +0100 Subject: [PATCH] URL name --- backend/lib/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/lib/config.js b/backend/lib/config.js index 9f87837..8cac42b 100644 --- a/backend/lib/config.js +++ b/backend/lib/config.js @@ -5,10 +5,10 @@ const { const rpcUrls = RPC_URLS.split(',') const RPC_URL = rpcUrls[Math.floor(Math.random() * rpcUrls.length)] -console.log(`Selected JSON-RPC endpoint ${RPC_URLS}`) +console.log(`Selected JSON-RPC endpoint ${RPC_URL}`) const rpcHeaders = {} -if (RPC_URLS.includes('glif')) { +if (RPC_URL.includes('glif')) { rpcHeaders.Authorization = `Bearer ${GLIF_TOKEN}` }