mirror of
https://github.com/axeloz/filesharing.git
synced 2025-05-06 10:03:55 +02:00
Update AppServiceProvider.php
This commit is contained in:
parent
a1519bf898
commit
c9698c3dd2
1 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,8 @@ class AppServiceProvider extends ServiceProvider
|
||||||
*/
|
*/
|
||||||
public function boot(): void
|
public function boot(): void
|
||||||
{
|
{
|
||||||
|
if($this->app->environment('production')) {
|
||||||
|
\URL::forceScheme('https');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue