mirror of
https://github.com/Findus23/RainbowRoad.git
synced 2024-09-19 16:03:52 +02:00
more in NÖ and BG
This commit is contained in:
parent
cdd4f7794c
commit
fa053a3398
8 changed files with 194 additions and 33 deletions
7
assets/favicons/gmaps.svg
Normal file
7
assets/favicons/gmaps.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="134.08" height="192.17" viewBox="0 0 35.48 50.85">
|
||||||
|
<path fill="#34a853" d="M9.77 37.68a51.38 51.38 0 0 1 4.01 5.91 29.98 29.98 0 0 1 2.2 5.59c.45 1.29.87 1.67 1.76 1.67.97 0 1.4-.65 1.75-1.67.7-2.2 1.26-3.88 2.13-5.47a62.42 62.42 0 0 1 5.94-8.42c.57-.75 4.23-5.07 5.88-8.48 0 0 2.03-3.75 2.03-8.98 0-4.9-2-8.29-2-8.29l-5.76 1.54-3.5 9.21-.86 1.27-.17.23-.23.29-.4.46-.58.58-3.12 2.53-7.78 4.5z"/>
|
||||||
|
<path fill="#fbbc04" d="M1.74 26.18c1.9 4.34 5.56 8.15 8.04 11.5l13.17-15.6s-1.86 2.43-5.22 2.43c-3.75 0-6.78-3-6.78-6.77 0-2.58 1.56-4.36 1.56-4.36l-8.94 2.4z"/>
|
||||||
|
<path fill="#4285f4" d="M23.1.8a17.63 17.63 0 0 1 10.37 8.74L22.95 22.08s1.56-1.81 1.56-4.38a6.81 6.81 0 0 0-6.77-6.75c-3.32 0-5.23 2.42-5.23 2.42v-7.9z"/>
|
||||||
|
<path fill="#1a73e8" d="M4.15 6.34A17.57 17.57 0 0 1 17.69 0c3.08 0 5.4.8 5.4.8L12.5 13.39H5Z"/>
|
||||||
|
<path fill="#ea4335" d="M1.74 26.18S-.01 22.76-.01 17.8C-.01 13.1 1.81 9 4.15 6.34l8.36 7.04z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 984 B |
|
@ -25,9 +25,10 @@ function runstats() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(dateCounts)
|
console.log(dateCounts)
|
||||||
|
let totalNumber = 0
|
||||||
files.forEach(f => {
|
files.forEach(f => {
|
||||||
const data: Crossing[] = JSON.parse(fs.readFileSync(`../data/${f}.json`, 'utf8'));
|
const data: Crossing[] = JSON.parse(fs.readFileSync(`../data/${f}.json`, 'utf8'));
|
||||||
|
totalNumber += data.length
|
||||||
data.forEach(cr => {
|
data.forEach(cr => {
|
||||||
const dates = cr.sources.filter(s => s.type != "proposal").map(s => s.date).sort()
|
const dates = cr.sources.filter(s => s.type != "proposal").map(s => s.date).sort()
|
||||||
const date = new Date(dates[0])
|
const date = new Date(dates[0])
|
||||||
|
@ -39,6 +40,7 @@ function runstats() {
|
||||||
})
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
|
console.log("total", totalNumber)
|
||||||
const dateCountList = []
|
const dateCountList = []
|
||||||
for (let dateCountsKey in dateCounts) {
|
for (let dateCountsKey in dateCounts) {
|
||||||
dateCountList.push({
|
dateCountList.push({
|
||||||
|
|
|
@ -75,5 +75,37 @@
|
||||||
],
|
],
|
||||||
"length": 9.69
|
"length": 9.69
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2941975459,
|
||||||
|
"type": "prideFlag",
|
||||||
|
"name": "Parndorf Einkaufszentrum",
|
||||||
|
"sources": [
|
||||||
|
{
|
||||||
|
"type": "photo",
|
||||||
|
"date": "2023-08-28"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"geosource": {
|
||||||
|
"type": "OSMnodes",
|
||||||
|
"nodes": [
|
||||||
|
5981491046,
|
||||||
|
268966416,
|
||||||
|
1511570357
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"geo": {
|
||||||
|
"coords": [
|
||||||
|
[
|
||||||
|
16.8474312,
|
||||||
|
47.9778454
|
||||||
|
],
|
||||||
|
[
|
||||||
|
16.8476292,
|
||||||
|
47.9778644
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"length": 14.89
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -197,5 +197,91 @@
|
||||||
],
|
],
|
||||||
"length": 8.46
|
"length": 8.46
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 757992739,
|
||||||
|
"name": "Wiener Neudorf",
|
||||||
|
"type": "prideFlag",
|
||||||
|
"sources": [
|
||||||
|
{
|
||||||
|
"type": "news",
|
||||||
|
"url": "https://www.noen.at/video/noen-n1-tv-regenbogen-zebrastreifen-in-wiener-neudorf-381577504",
|
||||||
|
"date": "2023-08-18"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "news",
|
||||||
|
"url": "https://www.meinbezirk.at/moedling/c-lokales/regenbogen-zebrastreifen-in-wiener-neudorf_a6223674",
|
||||||
|
"date": "2023-08-25"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"geosource": {
|
||||||
|
"type": "RawCoords",
|
||||||
|
"coords": [
|
||||||
|
[
|
||||||
|
16.31779,
|
||||||
|
48.08644
|
||||||
|
],
|
||||||
|
[
|
||||||
|
16.31776,
|
||||||
|
48.08635
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"geo": {
|
||||||
|
"coords": [
|
||||||
|
[
|
||||||
|
16.31779,
|
||||||
|
48.08644
|
||||||
|
],
|
||||||
|
[
|
||||||
|
16.31776,
|
||||||
|
48.08635
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"length": 10.25
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1016612021,
|
||||||
|
"name": "Traismauer",
|
||||||
|
"type": "prideFlag",
|
||||||
|
"sources": [
|
||||||
|
{
|
||||||
|
"type": "official",
|
||||||
|
"url": "https://www.facebook.com/mapeiaustriagmbh/posts/pfbid02igTyicMNYEhzA2PVHMzrf7yqhJSfHVszBVvzh3RdFKoVJxybjbucA6Gxs5g9mXQvl",
|
||||||
|
"date": "2022-08-12"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "streetview",
|
||||||
|
"url": "https://www.google.com/maps/@48.3508004,15.7431973,3a,77y,352.02h,87.2t/data=!3m6!1e1!3m4!1ss29JNQ2lyLm5aO4hjORMFw!2e0!7i16384!8i8192?entry=ttu",
|
||||||
|
"date": "2023-03-01"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"geosource": {
|
||||||
|
"type": "RawCoords",
|
||||||
|
"coords": [
|
||||||
|
[
|
||||||
|
15.74309,
|
||||||
|
48.35099
|
||||||
|
],
|
||||||
|
[
|
||||||
|
15.74323,
|
||||||
|
48.35101
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"geo": {
|
||||||
|
"coords": [
|
||||||
|
[
|
||||||
|
15.74309,
|
||||||
|
48.35099
|
||||||
|
],
|
||||||
|
[
|
||||||
|
15.74323,
|
||||||
|
48.35101
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"length": 10.58
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -82,5 +82,35 @@
|
||||||
],
|
],
|
||||||
"length": 10.11
|
"length": 10.11
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1260971435,
|
||||||
|
"name": "Gleisdorf",
|
||||||
|
"type": "prideFlag",
|
||||||
|
"sources": [
|
||||||
|
{
|
||||||
|
"type": "news",
|
||||||
|
"url": "https://www.kleinezeitung.at/steiermark/weiz/6311317/FPOe-ist-empoert_1200-Euro-fuer-RegenbogenZebrastreifen-in-Gleisdorf",
|
||||||
|
"date": "2023-08-01"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"comment": "Exakte Position unbekannt",
|
||||||
|
"geosource": {
|
||||||
|
"type": "OSMway",
|
||||||
|
"wayID": 306268826
|
||||||
|
},
|
||||||
|
"geo": {
|
||||||
|
"coords": [
|
||||||
|
[
|
||||||
|
15.7140729,
|
||||||
|
47.105878
|
||||||
|
],
|
||||||
|
[
|
||||||
|
15.7141261,
|
||||||
|
47.1058395
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"length": 5.88
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
60
package-lock.json
generated
60
package-lock.json
generated
|
@ -484,9 +484,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/@types/node": {
|
"node_modules/@types/node": {
|
||||||
"version": "20.5.0",
|
"version": "20.5.7",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.7.tgz",
|
||||||
"integrity": "sha512-Mgq7eCtoTjT89FqNoTzzXg2XvCi5VMhRV6+I2aYanc6kQCBImeNaAYRs/DyoVqk1YEUJK5gN9VO7HRIdz4Wo3Q=="
|
"integrity": "sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA=="
|
||||||
},
|
},
|
||||||
"node_modules/acorn": {
|
"node_modules/acorn": {
|
||||||
"version": "8.10.0",
|
"version": "8.10.0",
|
||||||
|
@ -579,9 +579,9 @@
|
||||||
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
|
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
|
||||||
},
|
},
|
||||||
"node_modules/axios": {
|
"node_modules/axios": {
|
||||||
"version": "1.4.0",
|
"version": "1.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/axios/-/axios-1.5.0.tgz",
|
||||||
"integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==",
|
"integrity": "sha512-D4DdjDo5CY50Qms0qGQTTw6Q44jl7zRwY7bthds06pUGfChBCTcQs+N743eFWGEd6pRTMd6A+I87aWyFV5wiZQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"follow-redirects": "^1.15.0",
|
"follow-redirects": "^1.15.0",
|
||||||
"form-data": "^4.0.0",
|
"form-data": "^4.0.0",
|
||||||
|
@ -866,9 +866,9 @@
|
||||||
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
|
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
|
||||||
},
|
},
|
||||||
"node_modules/fsevents": {
|
"node_modules/fsevents": {
|
||||||
"version": "2.3.2",
|
"version": "2.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
|
||||||
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
|
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"optional": true,
|
"optional": true,
|
||||||
|
@ -952,9 +952,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/immutable": {
|
"node_modules/immutable": {
|
||||||
"version": "4.3.2",
|
"version": "4.3.4",
|
||||||
"resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.4.tgz",
|
||||||
"integrity": "sha512-oGXzbEDem9OOpDWZu88jGiYCvIsLHMvGw+8OXlpsvTFvIQplQbjg1B1cvKg8f7Hoch6+NGjpPsH1Fr+Mc2D1aA==",
|
"integrity": "sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/inflight": {
|
"node_modules/inflight": {
|
||||||
|
@ -1188,9 +1188,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ol": {
|
"node_modules/ol": {
|
||||||
"version": "7.5.0",
|
"version": "7.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/ol/-/ol-7.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/ol/-/ol-7.5.1.tgz",
|
||||||
"integrity": "sha512-ENjuod3oIdAR3shCPKPmzoObb2wRfNtMSwhvYEA7kJ9RbZABzqPCsfJegSnZumJfd2Crk6Nw2u1p3IdX6g9RbQ==",
|
"integrity": "sha512-CFXDhO8YdQt7I+zwrGYSONo/ZM2oLr7vUvxqpLEUyy+USaQjUeE8L6FBOWIPboopGVhnSVYd5hdEirn9ifKBZQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"earcut": "^2.2.3",
|
"earcut": "^2.2.3",
|
||||||
"geotiff": "^2.0.7",
|
"geotiff": "^2.0.7",
|
||||||
|
@ -1270,9 +1270,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/postcss": {
|
"node_modules/postcss": {
|
||||||
"version": "8.4.27",
|
"version": "8.4.28",
|
||||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.27.tgz",
|
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.28.tgz",
|
||||||
"integrity": "sha512-gY/ACJtJPSmUFPDCHtX78+01fHa64FaU4zaaWfuh1MhGJISufJAH4cun6k/8fwsHYeK4UQmENQK+tRLCFJE8JQ==",
|
"integrity": "sha512-Z7V5j0cq8oEKyejIKfpD8b4eBy9cwW2JWPk0+fB1HOAMsfHbnAXLLS+PfVWlzMSLQaWttKDt607I0XHmpE67Vw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -1316,9 +1316,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/quick-lru": {
|
"node_modules/quick-lru": {
|
||||||
"version": "6.1.1",
|
"version": "6.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-6.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-6.1.2.tgz",
|
||||||
"integrity": "sha512-S27GBT+F0NTRiehtbrgaSE1idUAJ5bX8dPAQTdylEyNlrdcH5X4Lz7Edz3DYzecbsCluD5zO8ZNEe04z3D3u6Q==",
|
"integrity": "sha512-AAFUA5O1d83pIHEhJwWCq/RQcRukCkn/NSm2QsTEMle5f2hP0ChI2+3Xb051PZCkLryI/Ir1MVKviT2FIloaTQ==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12"
|
"node": ">=12"
|
||||||
},
|
},
|
||||||
|
@ -1368,9 +1368,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/rollup": {
|
"node_modules/rollup": {
|
||||||
"version": "3.28.0",
|
"version": "3.28.1",
|
||||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.0.tgz",
|
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz",
|
||||||
"integrity": "sha512-d7zhvo1OUY2SXSM6pfNjgD5+d0Nz87CUp4mt8l/GgVP3oBsPwzNvSzyu1me6BSG9JIgWNTVcafIXBIyM8yQ3yw==",
|
"integrity": "sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"rollup": "dist/bin/rollup"
|
"rollup": "dist/bin/rollup"
|
||||||
|
@ -1389,9 +1389,9 @@
|
||||||
"integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ=="
|
"integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ=="
|
||||||
},
|
},
|
||||||
"node_modules/sass": {
|
"node_modules/sass": {
|
||||||
"version": "1.65.1",
|
"version": "1.66.1",
|
||||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.65.1.tgz",
|
"resolved": "https://registry.npmjs.org/sass/-/sass-1.66.1.tgz",
|
||||||
"integrity": "sha512-9DINwtHmA41SEd36eVPQ9BJKpn7eKDQmUHmpI0y5Zv2Rcorrh0zS+cFrt050hdNbmmCNKTW3hV5mWfuegNRsEA==",
|
"integrity": "sha512-50c+zTsZOJVgFfTgwwEzkjA3/QACgdNsKueWPyAR0mRINIvLAStVQBbPg14iuqEQ74NPDbXzJARJ/O4SI1zftA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chokidar": ">=3.0.0 <4.0.0",
|
"chokidar": ">=3.0.0 <4.0.0",
|
||||||
|
@ -1502,9 +1502,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/typescript": {
|
"node_modules/typescript": {
|
||||||
"version": "5.1.6",
|
"version": "5.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
|
||||||
"integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==",
|
"integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
|
||||||
"bin": {
|
"bin": {
|
||||||
"tsc": "bin/tsc",
|
"tsc": "bin/tsc",
|
||||||
"tsserver": "bin/tsserver"
|
"tsserver": "bin/tsserver"
|
||||||
|
|
|
@ -19,9 +19,10 @@ import orfIcon from "../assets/favicons/orf.png"
|
||||||
import apaIcon from "../assets/favicons/apa.png"
|
import apaIcon from "../assets/favicons/apa.png"
|
||||||
import facebookIcon from "../assets/favicons/facebook.svg"
|
import facebookIcon from "../assets/favicons/facebook.svg"
|
||||||
import heuteIcon from "../assets/favicons/heute.at.png"
|
import heuteIcon from "../assets/favicons/heute.at.png"
|
||||||
|
import gmapsIcon from "../assets/favicons/gmaps.svg"
|
||||||
|
|
||||||
|
|
||||||
export function faviconByHostname(hostname: string): string | undefined {
|
export function faviconByHostname(hostname: string, pathname: string): string | undefined {
|
||||||
|
|
||||||
switch (hostname) {
|
switch (hostname) {
|
||||||
case "www.ggg.at":
|
case "www.ggg.at":
|
||||||
|
@ -71,4 +72,7 @@ export function faviconByHostname(hostname: string): string | undefined {
|
||||||
if (hostname.includes("orf.at")) {
|
if (hostname.includes("orf.at")) {
|
||||||
return orfIcon
|
return orfIcon
|
||||||
}
|
}
|
||||||
|
if (hostname == "www.google.com" && pathname.startsWith("/maps/")) {
|
||||||
|
return gmapsIcon
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ export function displaySources(sources: Source[]) {
|
||||||
img.width = img.height = 24
|
img.width = img.height = 24
|
||||||
a.appendChild(img)
|
a.appendChild(img)
|
||||||
a.href = s.url! // TODO: missing url
|
a.href = s.url! // TODO: missing url
|
||||||
const favicon = faviconByHostname(a.hostname)
|
const favicon = faviconByHostname(a.hostname, a.pathname)
|
||||||
if (favicon) {
|
if (favicon) {
|
||||||
img.src = favicon
|
img.src = favicon
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue