











2025-05-06 22:19 狼人:-) 阅读(50) 评论(0) 收藏 举报
https://github.com/bagisto/bagisto/issues/1692
.env

# APP_ENV=local
APP_ENV=production

/app/Providers/AppServiceProvider.php
public function boot(): void
{
//$this->app['request']->server->set('HTTPS', true);
if (env('APP_ENV') !== 'local') {
\URL::forceScheme('https');
}
ParallelTesting::setUpTestDatabase(function (string $database, int $token) {
Artisan::call('db:seed');
});
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。