Skip to content

Commit fe07ac4

Browse files
authored
Update api.ts
1 parent da633a9 commit fe07ac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import blockApi from './blockApi';
44
import { isBlockHash } from './validation';
55

66
// Base URL should be absolute when running in Docker
7-
const API_BASE_URL = 'https://blockchain.info';
8-
const BLOCKCHAIN_API_URL = 'https://blockchain.info';
7+
const API_BASE_URL = '/api/v2';
8+
const BLOCKCHAIN_API_URL = '/block_api';
99

1010
const userAgents = [
1111
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36',

0 commit comments

Comments
 (0)