File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
< meta name ="viewport " content ="width=360, initial-scale=1.0 " />
7
7
< meta name ="theme-color " content ="#000000 " />
8
8
< meta name ="description " content ="Assemblyline 4 React UI " />
9
- < link id ="favicon " rel ="icon " href ="favicon.ico?query=test " />
9
+ < link id ="favicon " rel ="icon " href ="favicon.ico " />
10
10
< link rel ="manifest " href ="manifest.json " />
11
11
< title > Assemblyline 4</ title >
12
12
</ head >
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ describe('Test `resetFavicon`', () => {
236
236
favicon . setAttribute ( 'href' , initial ) ;
237
237
expect ( favicon . getAttribute ( 'href' ) ) . toBe ( initial ) ;
238
238
resetFavicon ( ) ;
239
- expect ( favicon . getAttribute ( 'href' ) ) . toBe ( `${ defaultURL } /favicon.ico?query=test ` ) ;
239
+ expect ( favicon . getAttribute ( 'href' ) ) . toBe ( `${ defaultURL } /favicon.ico` ) ;
240
240
} ) ;
241
241
} ) ;
242
242
@@ -257,7 +257,7 @@ describe('Test `setNotifyFavicon`', () => {
257
257
favicon . setAttribute ( 'href' , initial ) ;
258
258
expect ( favicon . getAttribute ( 'href' ) ) . toBe ( initial ) ;
259
259
setNotifyFavicon ( ) ;
260
- expect ( favicon . getAttribute ( 'href' ) ) . toBe ( `${ defaultURL } /favicon_done.ico?query=test ` ) ;
260
+ expect ( favicon . getAttribute ( 'href' ) ) . toBe ( `${ defaultURL } /favicon_done.ico` ) ;
261
261
} ) ;
262
262
} ) ;
263
263
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export function humanReadableNumber(num: number | null) {
131
131
export function resetFavicon ( ) {
132
132
const favicon : HTMLLinkElement = document . querySelector ( '#favicon' ) ;
133
133
// TODO: remove query test
134
- favicon . href = `/favicon.ico?query=test ` ;
134
+ favicon . href = `/favicon.ico` ;
135
135
}
136
136
137
137
/**
@@ -144,7 +144,7 @@ export function resetFavicon() {
144
144
export function setNotifyFavicon ( ) {
145
145
const favicon : HTMLLinkElement = document . querySelector ( '#favicon' ) ;
146
146
// TODO: remove query test
147
- favicon . href = `/favicon_done.ico?query=test ` ;
147
+ favicon . href = `/favicon_done.ico` ;
148
148
}
149
149
150
150
/**
You can’t perform that action at this time.
0 commit comments