Laravel pagination returns links in http and not https
<p>I am using the <code>-&gt;paginate(20);</code> function on my query but the only problem is that it will return http and not https</p>

<p>Eg: <code>"next_page_url":"http://www.mysite"</code></p>

<p>I have tried to force my app to use https by adding this in AppServiceProvider</p>

<pre><code>public function boot()
    {
        if (!\App::environment('local')) {
            \URL::forceSchema('https');
        }
    }
</code></pre>

<p>So have can I force Laravel to return all links in https?</p>