mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Add CORS support for buy now buttons
This commit is contained in:
parent
abd93d31e3
commit
d024e08778
@ -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…
Reference in New Issue
Block a user