Nova assets not loaded on Laravel running in subfolder #3991
-
Description:Unable to load Nova assets when Laravel run in subfolder. Assets should be loaded as APP_URL, ex. Detailed steps to reproduce the issue on a fresh Nova installation:.env APP_URL=localhost/backend app/Providers/AppServiceProvider.php /**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
url()->forceRootUrl(config('app.url'));
} |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi guys, My url is already a subdomain and my goal is to keep this name to not disturb users (team_a.example.com/backend/nova) and I can't have a more depth subdomain as backend.team_a.example.com |
Beta Was this translation helpful? Give feedback.
-
Any solution for this? |
Beta Was this translation helpful? Give feedback.
-
Please see: https://github.com/laravel/nova/pull/296#issuecomment-474514093 |
Beta Was this translation helpful? Give feedback.
Please see: https://github.com/laravel/nova/pull/296#issuecomment-474514093