We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you use the whitelist route in routes/web.php it is not possible to access the API routes created by Nova. These can be excluded by using
Route::get('/{any}', 'SpaController@index')->where('any', '^(?!nova-api).*$');
instead of
Route::get('/{any}', 'SpaController@index')->where('any', '.*');
Added a Pull request: #9
The text was updated successfully, but these errors were encountered:
Just figured this out myself as well.
I am using
Route::get('/{any}', 'SpaController@index')->where('any', '\#*');
Is there any reason to have anything that doesn't start with "#" routed to the controller?
Sorry, something went wrong.
No branches or pull requests
When you use the whitelist route in routes/web.php it is not possible to access the API routes created by Nova. These can be excluded by using
Route::get('/{any}', 'SpaController@index')->where('any', '^(?!nova-api).*$');
instead of
Route::get('/{any}', 'SpaController@index')->where('any', '.*');
Added a Pull request: #9
The text was updated successfully, but these errors were encountered: