diff --git a/index.js b/index.js index 498d4a5..905c2d0 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 || ["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;