Skip to content

Commit

Permalink
OpenSearch URL
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed May 15, 2024
1 parent e3c964d commit f6fed3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Test
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENSEARCH_URL: http://admin:admin@localhost:9200
OPENSEARCH_URL: http://localhost:9200
POST_IMAGES_API_KEY: ${{ secrets.POST_IMAGES_API_KEY }}
run: |
./bin/setup
Expand Down
2 changes: 1 addition & 1 deletion test/products/opensearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from "fs";
import { Client } from "@opensearch-project/opensearch";

const opensearch = new Client({
node: process.env.OPENSEARCH_URL || "http://admin:admin@localhost:9200",
node: process.env.OPENSEARCH_URL || "http://localhost:9200",
ssl: {
ca: fs.readFileSync("/etc/ssl/certs/Comodo_AAA_Services_root.pem"),
rejectUnauthorized: false,
Expand Down

0 comments on commit f6fed3c

Please sign in to comment.