1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-02 08:48:11 +09:00
hotomoe/packages/backend
Johann150 bd07c7312a
fix: also recognize "shortcut icon" favicon (#8220)
* also recognize "shortcut icon" favicon

Not using querySelector for this because it uses jsdom which might be slower.
Reversing the order because WHATWG says the last appropriate link should be used.

* also fetchIconUrl

* br

* improve readability

* fix

* フォールバックにhrefの評価を含める

* fix val name

* 将来的な拡張を考えたコードにした

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-23 20:17:43 +09:00
..
.vscode improve ide support 2021-11-18 23:52:41 +09:00
assets refactoring 2021-11-12 02:02:25 +09:00
migration remove max note text length setting 2022-02-20 16:07:43 +09:00
src fix: also recognize "shortcut icon" favicon (#8220) 2022-02-23 20:17:43 +09:00
test refactor: use ajv instead of cafy (#8324) 2022-02-19 14:05:32 +09:00
.eslintignore use eslint 2021-11-12 10:35:41 +09:00
.eslintrc.js introduce lint for client 2021-11-18 23:32:43 +09:00
.mocharc.json refactoring 2021-11-12 02:02:25 +09:00
.npmrc refactoring 2021-11-12 02:02:25 +09:00
.yarnrc use eslint 2021-11-12 10:35:41 +09:00
jsconfig.json use eslint 2021-11-12 10:35:41 +09:00
ormconfig.js refactoring 2021-11-12 02:02:25 +09:00
package.json refactor: use ajv instead of cafy (#8324) 2022-02-19 14:05:32 +09:00
tsconfig.json refactor 2022-02-03 21:20:25 +09:00
watch.mjs implement dev command 2021-11-19 14:48:59 +09:00
yarn.lock refactor: use ajv instead of cafy (#8324) 2022-02-19 14:05:32 +09:00