diff --git a/config/general.php b/config/general.php index 03825a89..3557cebb 100644 --- a/config/general.php +++ b/config/general.php @@ -26,4 +26,8 @@ ->disallowRobots(App::env('DISALLOW_ROBOTS') ?? false) // Prevent user enumeration attacks ->preventUserEnumeration() + // Set the @webroot alias so the clear-caches command knows where to find CP resources + ->aliases([ + '@webroot' => dirname(__DIR__) . '/web', + ]) ;