aware on paginate

pull/2/head
ajikamaludin 2 years ago
parent 406c237c4f
commit cc4fafd633
Signed by: ajikamaludin
GPG Key ID: 476C9A2B4B794EBB

@ -19,6 +19,7 @@ class HttpSecureAware
{ {
if(app()->isProduction() && !$request->secure()) { if(app()->isProduction() && !$request->secure()) {
URL::forceScheme('https'); URL::forceScheme('https');
$request->server->set('HTTPS','on');
} }
return $next($request); return $next($request);
} }

Loading…
Cancel
Save