We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60921c5 commit 1cd66d8Copy full SHA for 1cd66d8
src/ProxyAction.php
@@ -41,14 +41,14 @@ public function run(): Response
41
$token = $this->request->headers->get('X-Access-Token');
42
if ($token !== $this->accessToken) {
43
if ($this->throw404Exception) {
44
- throw new NotFoundHttpException('Access token is invalid');
+ throw new NotFoundHttpException('Page not found');
45
}
46
throw new ForbiddenHttpException('Access token is invalid');
47
48
49
if (!$url) {
50
51
- throw new NotFoundHttpException('Proxy URL is not set');
52
53
throw new BadRequestHttpException('Proxy URL is not set');
54
0 commit comments