Always HTTPS
This commit is contained in:
parent
bf35af05ce
commit
f3ed4ebf61
1 changed files with 1 additions and 3 deletions
|
|
@ -24,9 +24,7 @@ class AppServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function boot()
|
||||
{
|
||||
if (\App::environment() !== 'local') {
|
||||
\URL::forceScheme('https');
|
||||
}
|
||||
url()->forceScheme('https');
|
||||
|
||||
JsonResource::withoutWrapping();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue