@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user