T
T
Troodi Larson2019-02-25 18:17:28
Laravel
Troodi Larson, 2019-02-25 18:17:28

Packet routing doesn't work if moved to main web routing?

Downloaded the CKFinder package for laravel. Inside the vendor package there is a route file in which:

Route::any('/ckfinder/connector', 'CKSource\CKFinderBridge\Controller\[email protected]')->name('ckfinder_connector');
Route::any('/ckfinder/browser', 'CKSource\CKFinderBridge\Controller\[email protected]')->name('ckfinder_browser');

But if I put this code in the main web route, then the file upload stops working, returning a 419 http error (unknown error). And the question is, how can this be? What reasons. After all, in fact, there is no difference in routes. And viewing files on the same route works, but downloading on the same controller does not.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question