mirror of
https://github.com/flarum/core.git
synced 2025-08-01 14:10:37 +02:00
Fix asset publishing.
This commit is contained in:
@@ -35,7 +35,8 @@ class WebServiceProvider extends ServiceProvider {
|
|||||||
|
|
||||||
// publish assets in dev environment
|
// publish assets in dev environment
|
||||||
$publisher = new AssetPublisher($this->app['files'], $this->app['path.public']);
|
$publisher = new AssetPublisher($this->app['files'], $this->app['path.public']);
|
||||||
$publisher->publishPackage('flarum/core', $this->app['path.base'].'/workbench');
|
$publisher->setPackagePath(base_path().'/vendor');
|
||||||
|
$publisher->publishPackage('flarum/core');
|
||||||
|
|
||||||
include __DIR__.'/../../routes.php';
|
include __DIR__.'/../../routes.php';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user