Browse Source

Add default value for forceHttps in AppServiceProvider

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

+ 1 - 1
app/Providers/AppServiceProvider.php

@@ -40,7 +40,7 @@ class AppServiceProvider extends ServiceProvider
 	 */
 	public function boot()
 	{
-		if(config('instance.force_https_urls')) {
+		if(config('instance.force_https_urls', true)) {
 			URL::forceScheme('https');
 		}