iceshrimp/packages/backend
Johann150 95e4425a79 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
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
.eslintrc.js
.mocharc.json
.npmrc
.yarnrc
jsconfig.json
ormconfig.js
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