Browse Source

fixed https on pagination

= 4 năm trước cách đây
mục cha
commit
d103c041d1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/Providers/AppServiceProvider.php

+ 1 - 0
app/Providers/AppServiceProvider.php

@@ -26,6 +26,7 @@ class AppServiceProvider extends ServiceProvider
     {
         if (config('app.env') !== 'local') {
             $url->forceScheme('https');
+            $this->app['request']->server->set('HTTPS','on');
         }
     }
 }