Skip to content

Commit b8c25dd

Browse files
authored
Merge pull request dmnd-pool#145 from Priceless-P/fix/worker-activity-url
Fix worker activity server endpoint URL for staging environment
2 parents 803e964 + e1f7185 commit b8c25dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/monitor/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fn shares_server_endpoint() -> String {
4040
fn worker_activity_server_endpoint() -> String {
4141
// Determine the monitoring server URL based on the environment
4242
match Configuration::environment().as_str() {
43-
"staging" => format!("{}/api/worker/activity", LOCAL_URL),
43+
"staging" => format!("{}/api/worker/activity", STAGING_URL),
4444
"testnet3" => format!("{}/api/worker/activity", TESTNET3_URL),
4545
"local" => format!("{}/api/worker/activity", LOCAL_URL),
4646
"production" => format!("{}/api/worker/activity", PRODUCTION_URL),

0 commit comments

Comments
 (0)