Skip to content

Commit

Permalink
Fix: Add content-type for cloudflare
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrime-ru committed Feb 14, 2024
1 parent e44352c commit 4615d2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Sender.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function sendSample(Sample $sample): bool {
$request->setTlsHandshakeTimeout(5 * 60);
$request->setTransferTimeout(60 * 60);
$request->setInactivityTimeout(60 * 60);
$request->setHeader('Content-Type', 'text/html');
if (!empty($this->authToken)) {
$request->addHeader('Authorization', 'Bearer ' . $this->authToken);
}
Expand Down

0 comments on commit 4615d2e

Please sign in to comment.