From 8b56598dde738e4de18b710d4a5061fea175099b Mon Sep 17 00:00:00 2001 From: brandonkelly Date: Mon, 22 May 2023 19:44:27 -0700 Subject: [PATCH] Set the `@webroot` alias --- config/general.php | 4 ++++ 1 file changed, 4 insertions(+) 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', + ]) ;