mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Force https schema if APP_FORCE_SSL=true in .env
This commit is contained in:
@@ -20,7 +20,10 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
// force https urls
|
||||
if (env('APP_FORCE_SSL', false)) {
|
||||
\URL::forceSchema('https');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user