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

@@ -85,4 +85,5 @@ jobs:
php artisan config:cache && php artisan config:cache &&
php artisan route:cache && php artisan route:cache &&
php artisan view:cache php artisan view:cache
" "
docker exec koori-erp-laravel chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache

View File

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