Fix: use asset helper to include /sidata prefix

This commit is contained in:
2026-08-30 12:40:30 +07:00
parent ce408be3f2
commit baa2f611c1
2 changed files with 10 additions and 9 deletions
+3 -2
View File
@@ -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'));
}
}