Commit b6a641b7 authored by Tobias Munk's avatar Tobias Munk

fixed fixed asset bundles

parent e8ff12a9
......@@ -20,7 +20,7 @@ return [
'targets' => [
'frontend' => [
'class' => 'yii\web\AssetBundle',
'basePath' => '@app/web/assets-prod',
'basePath' => '@app/../web/assets-prod',
'baseUrl' => '@web/assets-prod',
'js' => 'js/frontend-{hash}.js',
'css' => 'css/frontend-{hash}.css',
......@@ -31,7 +31,7 @@ return [
],
'backend' => [
'class' => 'yii\web\AssetBundle',
'basePath' => '@app/web/assets-prod',
'basePath' => '@app/../web/assets-prod',
'baseUrl' => '@web/assets-prod',
'js' => 'js/backend-{hash}.js',
'css' => 'css/backend-{hash}.css',
......@@ -43,7 +43,7 @@ return [
],
'all' => [
'class' => 'yii\web\AssetBundle',
'basePath' => '@app/web/assets-prod',
'basePath' => '@app/../web/assets-prod',
'baseUrl' => '@web/assets-prod',
'js' => 'js/all-{hash}.js',
'css' => 'css/all-{hash}.css',
......
......@@ -14,6 +14,7 @@ $common = [
'assetManager' => [
'dirMode' => YII_ENV_PROD ? 0777 : null, // Note: For using mounted volumes or shared folders
'bundles' => YII_ENV_PROD ? require(__DIR__ . '/assets-gen/prod.php') : null,
'basePath' => '@root',
],
'authManager' => [
'class' => 'yii\rbac\DbManager',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment