Favicon Protocol Fix
This commit is contained in:
parent
2f6df56e82
commit
a2737c3eec
|
@ -16,7 +16,7 @@ export default {
|
|||
favicon() {
|
||||
try {
|
||||
const url = new URL(this.appData.url);
|
||||
return `${url.protocol}${url.hostname}/favicon.ico`;
|
||||
return `${url.protocol}//${url.hostname}/favicon.ico`;
|
||||
} catch {
|
||||
return "";
|
||||
}
|
||||
|
|
|
@ -17,8 +17,8 @@ export default {
|
|||
computed: {
|
||||
favicon() {
|
||||
try {
|
||||
const url = new URL(this.bookmark.url);
|
||||
return `${url.protocol}${url.hostname}/favicon.ico`;
|
||||
const url = new URL(this.bookmark.url);
|
||||
return `${url.protocol}//${url.hostname}/favicon.ico`;
|
||||
} catch {
|
||||
return "";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue