Skip to content
This repository was archived by the owner on Apr 27, 2025. It is now read-only.

Commit d08c3d5

Browse files
Fix dev diagnose task url.
1 parent 3a02031 commit d08c3d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ProjectInfinity/PocketVote/task/DiagnoseTask.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function onRun() {
3030

3131
if($this->identity === null) return;
3232

33-
$curl = curl_init($this->isDev ? 'http://127.0.0.1/v2/diagnose' : 'https://api.pocketvote.io/v2/diagnose');
33+
$curl = curl_init($this->isDev ? 'http://127.0.0.1:9000/v2/diagnose' : 'https://api.pocketvote.io/v2/diagnose');
3434

3535
curl_setopt_array($curl, [
3636
CURLOPT_RETURNTRANSFER => 1,

0 commit comments

Comments
 (0)