Skip to content

Commit

Permalink
put correct backend url for production
Browse files Browse the repository at this point in the history
  • Loading branch information
ae2079 committed Nov 16, 2024
1 parent ebe7add commit 925296e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/scripts/runFundingPotService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,11 @@ async function createEnvFile() {
'RPC_URL="https://rpc.ankr.com/base_sepolia"',
'RPC_URL="https://zkevm-rpc.com"',
)
.replace('CHAIN_ID=84532', 'CHAIN_ID=1101');
.replace('CHAIN_ID=84532', 'CHAIN_ID=1101')
.replace(
'BACKEND_URL="https://staging.qacc-be.generalmagic.io/graphql"',
`BACKEND_URL="${config.get('SERVER_URL')}/graphql"`,
);

await fs.writeFile(envFilePath, updatedEnvContent, 'utf-8');
} catch (error) {
Expand Down

0 comments on commit 925296e

Please sign in to comment.