diff --git a/app/Library/Utils/Index.ts b/app/Library/Utils/Index.ts index 20253a4..4834d85 100644 --- a/app/Library/Utils/Index.ts +++ b/app/Library/Utils/Index.ts @@ -17,7 +17,7 @@ interface XslTParameter { } export default { // opensearchNode: process.env.OPENSEARCH_HOST || 'localhost', - client: new Client({ node: `http://${process.env.OPENSEARCH_HOST || 'localhost'}` }), // replace with your OpenSearch endpoint + client: new Client({ node: `${process.env.OPENSEARCH_HOST || 'localhost'}` }), // replace with your OpenSearch endpoint async getDoiRegisterString(dataset: Dataset): Promise { try {