Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit 535dd7f

Browse files
committed
force https for prod
1 parent 085b9a0 commit 535dd7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Providers/AppServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function boot(): void
2929
return Limit::perMinute(10)->by($request->ip());
3030
});
3131

32-
if($this->app->environment('production')) {
32+
if(!$this->app->environment('local')) {
3333
URL::forceScheme('https');
3434
}
3535
}

0 commit comments

Comments
 (0)