Skip to content

Commit

Permalink
Return api
Browse files Browse the repository at this point in the history
  • Loading branch information
KuznetsovNikita committed Mar 22, 2024
1 parent 0e3d657 commit d27e539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/entries/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const switchNetwork = (current: Network): Network => {
export const getTonClientV2 = (config: TonendpointConfig, current?: Network) => {
return new ConfigurationV2({
basePath:
current === Network.MAINNET ? 'https://dev.tonapi.io' : 'https://testnet.tonapi.io',
current === Network.MAINNET ? 'https://keeper.tonapi.io' : 'https://testnet.tonapi.io',
headers: {
Authorization: `Bearer ${config.tonApiV2Key}`
}
Expand Down

0 comments on commit d27e539

Please sign in to comment.