Skip to content

Changing Nova Config URL in config/nova.php works but Im getting this error. #3353

Answered by JenuelDev
JenuelDev asked this question in Q&A
Discussion options

You must be logged in to vote

This is how I answered this problem of mine.

First after changing url in config/nova,php to /admin
and since I am using SPA on my home route which is ''/",

I changed my route to something this:

Route::get('/{any}', [SpaController::class, 'index'])->where('any', '^(?!admin|nova).*$')->name('_nuxt');

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JenuelDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #3352 on April 16, 2021 06:23.