Add CORS support for buy now buttons
This commit is contained in:
parent
abd93d31e3
commit
d024e08778
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ Route::get('/auth/{provider}', 'Auth\AuthController@authLogin');
|
|||
Route::get('/auth_unlink', 'Auth\AuthController@authUnlink');
|
||||
|
||||
Route::group(['middleware' => 'cors'], function () {
|
||||
Route::match(['GET', 'POST'], '/buy_now/{gateway_type?}', 'OnlinePaymentController@handleBuyNow');
|
||||
Route::match(['GET', 'POST', 'OPTIONS'], '/buy_now/{gateway_type?}', 'OnlinePaymentController@handleBuyNow');
|
||||
});
|
||||
|
||||
Route::post('/hook/email_bounced', 'AppController@emailBounced');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue