disable swagger + update cors for production

This commit is contained in:
2025-10-31 00:55:29 +07:00
parent 29685fd68d
commit 758e376381
6 changed files with 85 additions and 73 deletions

View File

@@ -5,7 +5,7 @@ import {parseAbi} from 'viem'
import {GmxSdk} from '@gmx-io/sdk'
// ExchangeRouter contract address on Arbitrum
const EXCHANGE_ROUTER_ADDRESS = '0x5aC4e27341e4cCcb3e5FD62f9E62db2Adf43dd57'
const EXCHANGE_ROUTER_ADDRESS = '0x87d66368cD08a7Ca42252f5ab44B2fb6d1Fb8d15'
// ABI for the claimUiFees function
const CLAIM_UI_FEES_ABI = parseAbi([