Skip to content

Commit

Permalink
Merge pull request #1231 from andrew-bierman/chore/transition-to-vect…
Browse files Browse the repository at this point in the history
…orizeV2
  • Loading branch information
andrew-bierman authored Sep 10, 2024
2 parents b74f67e + 1973dbb commit b2ceae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/vector/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class VectorClient {
this.apiKey = apiKey;
this.indexName = indexName;
this.accountId = accountId;
this.VECTORIZE_INDEX_URL = `https://api.cloudflare.com/client/v4/accounts/${this.accountId}/vectorize/indexes/${this.indexName}`;
this.VECTORIZE_INDEX_URL = `https://api.cloudflare.com/client/v4/accounts/${this.accountId}/vectorize/v2/indexes/${this.indexName}`;
}

public static get instance(): VectorClient {
Expand Down

0 comments on commit b2ceae2

Please sign in to comment.