From 34834f0cc962c2d2079682d516bd3e39d5ad6150 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Tue, 26 May 2026 19:15:41 +0300 Subject: [PATCH] fix in code --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 905c2d0..958529e 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ const configPath = path.join(__dirname, "config.yml"); const config = yaml.load(fs.readFileSync(configPath, "utf8")); const PORT = config.server?.port || 4000; -const HOSTS = config.targets?.hosts || [url: "http://127.0.0.1:7088", name: "my-server"]; +const HOSTS = config.targets?.hosts || [{url: "http://127.0.0.1:7088", name: "my-server"}]; const ENDPOINTS = config.targets?.endpoints || []; const TIMEOUT = config.targets?.timeout || 120_000;