Skip to content

Commit

Permalink
Set the @webroot alias
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed May 23, 2023
1 parent d2ce5c9 commit 8b56598
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
])
;

0 comments on commit 8b56598

Please sign in to comment.