mirror of
https://github.com/Retropex/apolloapi-v2.git
synced 2025-05-28 13:02:35 +02:00
Added password to config
This commit is contained in:
parent
f811bb5c8e
commit
6e2b17dbe6
2
apolloui
2
apolloui
@ -1 +1 @@
|
||||
Subproject commit 4591b417ce50d72b83014e90358f38a7da4295b1
|
||||
Subproject commit b688799115a72fedb55a044a32a7ff2305dd41c2
|
@ -76,7 +76,7 @@ const generate = async function (pools = null, settings = null ) {
|
||||
|
||||
const [poolHost, poolPort] = poolUrl.split(':');
|
||||
|
||||
let minerConfig = `-host ${poolHost} -port ${poolPort} -user ${mainPool.username} -brd_ocp ${voltage} -osc ${frequency}`;
|
||||
let minerConfig = `-host ${poolHost} -port ${poolPort} -user ${mainPool.username} -pswd ${mainPool.password} -brd_ocp ${voltage} -osc ${frequency}`;
|
||||
if (fanLow) minerConfig += ` ${fanLow}`;
|
||||
if (fanHigh) minerConfig += ` ${fanHigh}`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user