From 118836d48924379c8de77757ccf1376f3a422904 Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Wed, 17 Dec 2025 12:06:37 +0100 Subject: [PATCH] fix: Update OpenSearch client initialization to use template literals for consistency --- app/Library/Utils/Index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {