1 file changed
config.ts
+4
-4
1
const config = {
2
endpoint: "https://api.example.com/
v1
",
2
endpoint: "https://api.example.com/
v2
",
3
timeout:
5000
,
3
timeout:
8000
,
4
retries:
3
,
4
retries:
5
,
5
headers: { "x-api-key": "sk-
old
-key" },
5
headers: { "x-api-key": "sk-
new
-key"
,
"x-trace": "true"
},
6
};