main go
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 41s

This commit is contained in:
2026-01-06 13:21:31 +08:00
parent 8d838ee6f6
commit fbcdcd05b0
2 changed files with 6 additions and 2 deletions

View File

@@ -19,6 +19,9 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot(): void
{
//
// 如果是在正式環境,強制轉為 https
if (config('app.env') === 'production') {
URL::forceScheme('https');
}
}
}