check https
WMS API/ECOMMERCE/pipeline/head This commit looks good Details

This commit is contained in:
Bayu Lukman Yusuf 2026-02-23 10:29:11 +07:00
parent 30ea286214
commit 8344a81e2d
1 changed files with 5 additions and 5 deletions

View File

@ -23,11 +23,11 @@ class AppServiceProvider extends ServiceProvider
{ {
// //
if ( // if (
request()->isSecure() || // request()->isSecure() ||
request()->server('HTTP_X_FORWARDED_PROTO') === 'https' // request()->server('HTTP_X_FORWARDED_PROTO') === 'https'
) { // ) {
URL::forceScheme('https'); URL::forceScheme('https');
} // }
} }
} }