File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ export const FAVICON_DEFAULTS = {
2
2
source : 'src/app/favicon.svg' ,
3
3
output : 'src/assets/favicons' ,
4
4
config : {
5
- path : '/' ,
6
5
appName : null ,
7
6
appDescription : null ,
8
7
developerName : null ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const configPath = 'fusing-angular.json'
7
7
export interface FaviconConfig {
8
8
readonly source : string
9
9
readonly output : string
10
- readonly configuration : favs . Configuration
10
+ readonly config : favs . Configuration
11
11
}
12
12
13
13
export interface FuseBoxBaseConfig {
Original file line number Diff line number Diff line change @@ -15,12 +15,13 @@ function callback(config: FaviconConfig) {
15
15
16
16
export function rxFavicons ( config ?: FaviconConfig ) {
17
17
const _config = {
18
- source : resolve ( 'src/misc/logo.svg' ) ,
18
+ source :
19
+ ( config && resolve ( config . source ) ) || resolve ( 'src/app/favicon.svg' ) ,
19
20
configuration : {
20
- path : '/assets/favicons'
21
- } ,
22
- ... config
23
- } as FaviconConfig
21
+ path : '/assets/favicons' ,
22
+ ... ( config && config . config )
23
+ }
24
+ } as any
24
25
25
26
return bindCallback ( favs as any , callback ( _config ) ) (
26
27
_config . source ,
You can’t perform that action at this time.
0 commit comments