Favicon Protocol Fix

Fixed issue where favicons would not display properly across similar protocols
This commit is contained in:
Joe Bellus 2022-02-15 18:56:45 -05:00
parent 2f6df56e82
commit 6532721410
2 changed files with 3 additions and 3 deletions

View File

@ -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 "";
}

View File

@ -18,7 +18,7 @@ export default {
favicon() {
try {
const url = new URL(this.bookmark.url);
return `${url.protocol}${url.hostname}/favicon.ico`;
return `${url.protocol}//${url.hostname}/favicon.ico`;
} catch {
return "";
}