Skip to content

Commit

Permalink
Merge pull request #28 from lantongxue/patch-1
Browse files Browse the repository at this point in the history
修复别名找不到
  • Loading branch information
liufee committed Oct 27, 2021
2 parents 9ed6831 + 85eed8a commit 9b654a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/console/SwooleController.php
Expand Up @@ -106,6 +106,8 @@ public function actionStart()
$aliases = [
'@web' => '',
'@webroot' => $web,
'@webroot/assets' => $web.'/assets',
'@web/assets' => $web.'/assets'
];
$config['aliases'] = isset($config['aliases']) ? array_merge($aliases, $config['aliases']) : $aliases;

Expand Down

0 comments on commit 9b654a9

Please sign in to comment.