Fix: use asset helper to include /sidata prefix
This commit is contained in:
@@ -27,13 +27,14 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
// Paksa penggunaan HTTPS di environment selain local untuk mencegah Mixed Content
|
||||
if (config('app.env') !== 'local') {
|
||||
URL::forceScheme('https');
|
||||
}
|
||||
|
||||
Paginator::useBootstrap();
|
||||
Schema::defaultStringLength(191);
|
||||
View::share('baseUrl', URL::to('/'));
|
||||
|
||||
// Gunakan config('app.url') agar menghasilkan https://dashboard-bpkd.drc-bpkd.data-center.id/sidata
|
||||
View::share('baseUrl', config('app.url'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user