Nova-BI / nova-dashboard-manager

Dashboard Manager for Laravel Nova
MIT License
21 stars 8 forks source link

Redirection after create dashboard #12

Closed MarcosGit closed 3 years ago

MarcosGit commented 3 years ago

Hi, first thanks for this greate work.

when i create new dashboard its redirect to http://resources/dashboard-configuration when it should redirect to http://127.0.0.1:8000/resources/dashboard-configuration

I dont know why if i make mistake or its package issue.

marispro commented 3 years ago

Hi Marcos,

this is how redirect url is generated: return '/redirectAfter?to=' . url( Nova::path() . '/resources/' . static::uriKey());

what path variable value do you have in file config/nova.php ?

MarcosGit commented 3 years ago

Ok, thats happens because i change my Nova app to go direct to admin. I changed this path 'path' => '/nova', to this 'path' => '/',

marispro commented 3 years ago

It seems double slash causes this issue, what happens if you set 'path' => '', ?

MarcosGit commented 3 years ago

Yes thats the problem i remove the slash and all is work great. Thank you for you time and help