New API settings.

This commit is contained in:
XMRig 2019-03-29 02:31:56 +07:00
parent 1e0c410eea
commit 725796a1ab
14 changed files with 474 additions and 236 deletions

View file

@ -104,10 +104,10 @@ int xmrig::App::exec()
# ifdef XMRIG_FEATURE_HTTP
m_httpd = new Httpd(
m_controller->config()->apiPort(),
m_controller->config()->apiToken(),
m_controller->config()->isApiIPv6(),
m_controller->config()->isApiRestricted()
m_controller->config()->http().port(),
m_controller->config()->http().token(),
false,
m_controller->config()->http().isRestricted()
);
m_httpd->start();