adding new configuration for http testing

This commit is contained in:
F4ilji
2025-06-14 23:09:35 +05:00
parent 501e5487b9
commit e92e8a912c
5 changed files with 83 additions and 6 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ class ForceHttpsServiceProvider extends ServiceProvider
*/
public function boot(): void
{
if ($this->app->environment('production')) {
if (env('NGINX_ENV') === 'prod') {
URL::forceScheme('https');
}
}