Skip to content

Commit ba60810

Browse files
committed
Add Ignite prod source
1 parent 63b4402 commit ba60810

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed
Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
import { Web2JsonSource } from '../interfaces/web2-json';
1+
import { AuthType, HTTP_METHOD, Web2JsonSource } from '../interfaces/web2-json';
22

33
/** Allowed Web2Json source definitions for mainnet deployments. */
4-
export const WEB2_JSON_SOURCES: Web2JsonSource[] = [];
4+
export const WEB2_JSON_SOURCES: Web2JsonSource[] = [
5+
{
6+
sourceId: 'Ignite',
7+
endpoints: [
8+
{
9+
host: 'api-proxy.ignitemarket.xyz',
10+
paths: '*',
11+
methods: [HTTP_METHOD.GET],
12+
auth: {
13+
type: AuthType.APIKEY,
14+
env: 'IGNITE_API_KEY',
15+
header: 'x-api-key',
16+
},
17+
},
18+
],
19+
},
20+
];

0 commit comments

Comments
 (0)