Skip to content

Commit 29c2274

Browse files
authored
Fix change default base urls (#7)
1 parent 329441e commit 29c2274

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/examples/node/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async function pipelineFunctions(pipelineId) {
100100
try {
101101
const api = new Configuration({
102102
accessToken: token,
103-
basePath: "https://api-dev.vectorize.io/v1"
103+
basePath: "https://api.vectorize.io/v1"
104104
});
105105
const pipelinesApi = new PipelinesApi(api);
106106
const uploadsApi = new UploadsApi(api);
@@ -158,7 +158,7 @@ async function extraction() {
158158
try {
159159
const api = new Configuration({
160160
accessToken: token,
161-
basePath: "https://api-dev.vectorize.io/v1"
161+
basePath: "https://api.vectorize.io/v1"
162162
});
163163
const pipelinesApi = new PipelinesApi(api);
164164
const uploadsApi = new UploadsApi(api);

src/examples/notebooks/vectorize.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"import vectorize_client as v\n",
9090
"\n",
9191
"\n",
92-
"api = v.ApiClient(v.Configuration(access_token=token, host=\"http://localhost:3000/api\"), \"x-lambda-api-key\", token)\n",
92+
"api = v.ApiClient(v.Configuration(access_token=token, host=\"http://api.vectorize.io/v1\"))\n",
9393
"pipelines = v.PipelinesApi(api)\n",
9494
"\n",
9595
"response = pipelines.get_pipelines(org)\n",

0 commit comments

Comments
 (0)