測試 docker 還原 AppServiceProvider 20250528
This commit is contained in:
parent
13096f38e0
commit
caa76207c5
@ -22,9 +22,6 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
*/
|
*/
|
||||||
public function boot(): void
|
public function boot(): void
|
||||||
{
|
{
|
||||||
if (app()->environment('production')) {
|
|
||||||
config(['app.url' => request()->getSchemeAndHttpHost()]);
|
|
||||||
}
|
|
||||||
Room::observe(RoomObserver::class);
|
Room::observe(RoomObserver::class);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user