wip docker
This commit is contained in:
1 parent
eb4499efe5
commit
c20f31a28d
2 files changed
+2
-2
No files matched your search
@@ -7,7 +7,7 @@ use Illuminate\Support\Facades\Log;
|
||||
|
||||
class CloudflareSolverService
|
||||
{
|
||||
protected string $solverUrl = 'http://192.168.178.145:8191/v1';
|
||||
protected string $solverUrl = 'http://192.168.178.187:8191/v1';
|
||||
|
||||
/**
|
||||
* Holt die Daten und gibt das extrahierte JSON als PHP-Array zurück.
|
||||
@@ -15,6 +15,7 @@ class CloudflareSolverService
|
||||
*/
|
||||
public function getJsonFromUrl(string $targetUrl): ?array
|
||||
{
|
||||
|
||||
try {
|
||||
$response = Http::withHeaders([
|
||||
'Content-Type' => 'application/json',
|
||||
@@ -52,7 +53,6 @@ class CloudflareSolverService
|
||||
} else {
|
||||
Log::error('FlareSolverr konnte die Seite nicht umgehen: ' . json_encode($data));
|
||||
}
|
||||
|
||||
} catch (\Exception $e) {
|
||||
Log::error('PHP Exception im CloudflareSolverService: ' . $e->getMessage());
|
||||
}
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user