Skip to content

Commit

Permalink
URL name
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolas Haimerl authored and Nikolas Haimerl committed Jan 17, 2025
1 parent 9a238da commit 59667de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
}

Expand Down

0 comments on commit 59667de

Please sign in to comment.