We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a86104a + a9abf89 commit 1c8a067Copy full SHA for 1c8a067
src/.env.example
@@ -53,4 +53,6 @@ MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
53
54
#API2CART_URL=http://api.api2cart.local
55
56
-UID=1000
+UID=1000
57
+
58
+FORCE_HTTPS=true
src/app/Providers/AppServiceProvider.php
@@ -2,6 +2,7 @@
2
3
namespace App\Providers;
4
use Illuminate\Support\Facades\Schema;
5
+use Illuminate\Support\Facades\URL;
6
7
use Illuminate\Support\ServiceProvider;
8
@@ -25,5 +26,10 @@ public function register()
25
26
public function boot()
27
{
28
Schema::defaultStringLength(191);
29
30
+ if(env('FORCE_HTTPS',false)) { // Default value should be false for local server
31
+ URL::forceSchema('https');
32
+ }
33
34
}
35
0 commit comments