check https
WMS API/ECOMMERCE/pipeline/head This commit looks good
Details
WMS API/ECOMMERCE/pipeline/head This commit looks good
Details
This commit is contained in:
parent
30ea286214
commit
8344a81e2d
|
|
@ -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');
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue