-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
403_ajax_handler #18
403_ajax_handler #18
Conversation
$request | ||
); | ||
} else { | ||
return $CORS->addActualRequestHeaders( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about 403 production case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is working for both production and develop cases
@AdrianSkierniewski ptal |
@@ -48,6 +50,8 @@ public function render($request, Exception $e) | |||
if ($request->ajax()) { | |||
/** @var $CORS \Asm89\Stack\CorsService */ | |||
$CORS = app()->make('Asm89\Stack\CorsService'); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need those two empty lines
After removing those two empty lines 👍 |
👍 |
No description provided.