mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 10:14:16 +08:00
Fix FontAwesome path
This commit is contained in:
parent
c6f368f045
commit
bde9bf9378
|
@ -7,7 +7,7 @@
|
|||
// We want to specify the @fa-font-path variable AFTER we import font awesome
|
||||
// so that it overrides the default definition.
|
||||
@import "@{lib-path}/font-awesome/font-awesome.less";
|
||||
@fa-font-path: "/flarum/fonts";
|
||||
@fa-font-path: "/assets/fonts";
|
||||
|
||||
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,300);
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
// We want to specify the @fa-font-path variable AFTER we import font awesome
|
||||
// so that it overrides the default definition.
|
||||
@import "@{lib-path}/font-awesome/font-awesome.less";
|
||||
@fa-font-path: "/flarum/fonts";
|
||||
@fa-font-path: "/assets/fonts";
|
||||
|
||||
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,300);
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ class AdminServiceProvider extends ServiceProvider
|
|||
$this->loadViewsFrom($root.'/views', 'flarum.admin');
|
||||
|
||||
$this->publishes([
|
||||
$root.'/public/fonts' => public_path('flarum/fonts')
|
||||
$root.'/public/fonts' => public_path('assets/fonts')
|
||||
]);
|
||||
|
||||
include __DIR__.'/routes.php';
|
||||
|
|
|
@ -17,7 +17,7 @@ class ForumServiceProvider extends ServiceProvider
|
|||
$this->loadViewsFrom($root.'/views', 'flarum.forum');
|
||||
|
||||
$this->publishes([
|
||||
$root.'/public/fonts' => public_path('flarum/fonts')
|
||||
$root.'/public/fonts' => public_path('assets/fonts')
|
||||
]);
|
||||
|
||||
include __DIR__.'/routes.php';
|
||||
|
|
Loading…
Reference in New Issue
Block a user