HansSchouten / Laravel-Pagebuilder

A drag and drop pagebuilder to manage pages in any Laravel project
https://www.phpagebuilder.com
MIT License
800 stars 184 forks source link

page not found #139

Open sinapazoki opened 1 year ago

sinapazoki commented 1 year ago

I just did some trick to work around this as bellow.

Route::any('/{uri}', [ 'uses' => 'WebsiteController@uri', 'as' => 'page', ])->where('uri', '^((?!<1-route>|<12-route>|<3-route>|....|<n-route>).)*$');

Hey, @HansSchouten we use livewire and some custome routes with this route . whitout this route i have json error in livewire . my main problem is when i use this route pagebuilder route must be 4 character example /aaa and if i add page with bigger than this like /aaaa page return 404