Skip to content

Commit 8ec23bc

Browse files
committed
added webroot alias
1 parent 2676a6e commit 8ec23bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/general.php

+5
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@
3939

4040
// Set the custom template for errors (will not show in dev mode)
4141
'errorTemplatePrefix' => '/_errors/',
42+
43+
// Setup @webroot alias
44+
'aliases' => [
45+
'@web' => App::env('PRIMARY_SITE_URL')
46+
],
4247
],
4348

4449
'dev' => [

0 commit comments

Comments
 (0)