misskey/packages/backend/src
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
..
@types refactor 2022-02-03 21:20:25 +09:00
boot refactoring 2021-11-12 02:02:25 +09:00
config refactoring 2021-11-12 02:02:25 +09:00
daemons refactor: fix type 2022-02-19 14:28:08 +09:00
db enhance: e2eテストをできるだけ改良してみた (#8159) 2022-01-21 16:43:56 +09:00
mfm refactor 2022-02-04 11:10:53 +09:00
misc SchemaTypeの型計算量を削減 (#8332) 2022-02-19 23:21:28 +09:00
models remove max note text length setting 2022-02-20 16:07:43 +09:00
prelude refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
queue refacator: fix typw 2022-02-19 14:53:33 +09:00
remote refacator: fix typw 2022-02-19 14:53:33 +09:00
server プライベートタブでログインし直すと文字数がNaNになる問題を修正 2022-02-20 19:01:06 +09:00
services fix: also recognize "shortcut icon" favicon (#8220) 2022-02-23 20:17:43 +09:00
tools enhance: convert svg to png of custom emojis 2022-01-21 18:47:02 +09:00
const.ts remove max note text length setting 2022-02-20 16:07:43 +09:00
env.ts refactoring 2021-11-12 02:02:25 +09:00
global.d.ts refactoring 2021-11-12 02:02:25 +09:00
index.ts refactoring 2021-11-12 02:02:25 +09:00
types.ts refactoring 2021-11-12 02:02:25 +09:00