mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-19 19:34:23 +01:00
Merge branch 'spa-master'
This commit is contained in:
commit
c148919345
3 changed files with 3 additions and 2 deletions
|
@ -44,7 +44,8 @@
|
||||||
} else {
|
} else {
|
||||||
$filePath = trim($_GET['file'], '/');
|
$filePath = trim($_GET['file'], '/');
|
||||||
$lastModifiedCollection = new AssetCollection([new GlobAsset("styles/*.less")]);
|
$lastModifiedCollection = new AssetCollection([new GlobAsset("styles/*.less")]);
|
||||||
$bundle = new AssetCollection([new FileAsset($filePath), new CacheBusterAsset($lastModifiedCollection->getLastModified())], [new LessFilter('node')]);
|
$bundle = new AssetCollection([new FileAsset($filePath), new CacheBusterAsset($lastModifiedCollection->getLastModified())],
|
||||||
|
[new LessFilter(Config::get('app.node'), Config::get('app.node_paths'))]);
|
||||||
$bundle->setTargetPath($filePath);
|
$bundle->setTargetPath($filePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue