DONE: use acs mykad reader, fix trailing issue, duplicated line

This commit is contained in:
ISMAIL MASSERAN
2026-09-01 14:08:44 +08:00
parent 6e1ce76c50
commit 9fbc77aba8
10 changed files with 375 additions and 294 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class TrustProxies extends Middleware
*
* @var array|string|null
*/
protected $proxies;
protected $proxies = '*';
/**
* The headers that should be used to detect proxies.
+3 -1
View File
@@ -23,6 +23,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
//
if (strpos((string) config('app.url'), 'https://') === 0) {
\Illuminate\Support\Facades\URL::forceScheme('https');
}
}
}