1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-27 22:44:36 +02:00
SASAPIYO (SASAGAWA Kiyoshi) d5ab42267c fix(backend): NSFW検出モデルが file:// で読み込めない問題を修正 (#17528)
fix(backend): NSFW検出モデルがfile://スキームで読み込めない問題を修正

#17501 で `@tensorflow/tfjs-node` を bundle 外に出した結果、bundle 内の
`nsfwjs` が抱える `@tensorflow/tfjs-core` と external な tfjs-node が使う
tfjs-core が別インスタンスに分裂し、tfjs-node が登録する `file://` IOHandler を
nsfwjs 側が共有できなくなった。このため nsfwjs のモデル読み込みが HTTP handler
(node-fetch) にフォールバックし `URL scheme "file" is not supported` で失敗する。

`nsfwjs` と `@tensorflow/*` も external 化し、単一の tfjs-core インスタンスに
統一することで file:// IOHandler を共有させる。

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 08:48:32 +09:00
2026-05-12 17:36:49 +09:00
2022-06-09 00:50:23 +09:00
🎨
2025-05-07 10:44:43 +09:00
2026-05-12 17:36:49 +09:00
2025-09-27 20:53:21 +09:00
2025-10-19 11:34:34 +09:00
2026-01-05 20:56:52 +09:00
2025-07-16 15:49:05 +09:00
2026-01-05 20:56:52 +09:00
2025-12-06 17:39:17 +09:00
2018-08-13 00:24:45 +09:00
2023-02-26 14:17:29 +09:00
2026-05-15 10:12:17 +09:00
2018-03-28 22:56:28 +09:00
2019-04-05 18:17:30 +09:00
2026-01-07 21:43:31 +09:00
2025-11-11 09:30:13 +09:00
2025-02-01 13:57:39 +09:00

Misskey logo

🌎 Misskey is an open source, federated social media platform that's free forever! 🚀

Learn more


find an instance create an instance become a contributor join the community become a patron

Ask DeepWiki

Thanks

Sentry

Thanks to Sentry for providing the error tracking platform that helps us catch unexpected errors.

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.

Codecov

Thanks to Codecov for providing the code coverage platform that helps us improve our test coverage.

Crowdin

Thanks to Crowdin for providing the localization platform that helps us translate Misskey into many languages.

Docker

Thanks to Docker for providing the container platform that helps us run Misskey in production.


Support us with a !

Star History Chart

Description
🌎 A completely free and open interplanetary microblogging platform 🚀
https://github.com/misskey-dev/misskey Readme AGPL-3.0 611 MiB
Languages
TypeScript 64.5%
Vue 29%
JavaScript 5.7%
GLSL 0.3%
SCSS 0.3%