0👍
Change in your route file and save it like this,
Route::get('/news-events/store', 'NewsEventsController@storeNewsEvent')->name('admin.news-event-store');
Route::post('/uploadimag-news', 'NewsEventsController@upload');
by default tinymce send a post request in your provided upload url.
here is the docs of tinymce: https://www.tiny.cloud/docs/tinymce/6/upload-images/
- [Vuejs]-Nuxt 3: plugin and global middleware infinite loop?
- [Vuejs]-How to remove ripple effect from clicking q-list item
0👍
Update your VerifyCsrToken.php
file.
add the path in except array.
protected $except = [
//
'/uploadimag-news',
];
And you route should be post method.
cause tinyMCE send post request to the path.
Route::post('/uploadimag-news', [NewsEventsController::class, 'upload']);
- [Vuejs]-Test suite takes too long to finish with Jest
- [Vuejs]-Play music button on global components work for child components
Source:stackexchange.com