Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
loks0n committed Nov 11, 2024
1 parent 737c9e7 commit 1cb5190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/http.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ function logError(Throwable $error, string $action, ?Logger $logger, Route $rout
if (empty($secretKey) || $secretKey !== Http::getEnv('OPR_PROXY_SECRET', '')) {
throw new Exception('Incorrect proxy key.', 401);
}

$method = $request->getHeader('x-opr-addressing-method', ADDRESSING_METHOD_ANYCAST_EFFICIENT);

$proxyRequest = function (string $hostname, ?SwooleResponse $response = null) use ($request, $containers) {
Expand Down

0 comments on commit 1cb5190

Please sign in to comment.