fix(frontend): キャッシュを削除しないとクライアントが使用できないことがある問題を修正

This commit is contained in:
syuilo 2025-06-16 13:55:27 +09:00
parent 1782a353d3
commit 4ea7c76c02
2 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,7 @@
-
### Client
-
- Fix: キャッシュを削除しないとクライアントが使用できないことがある問題を修正
### Server
-

View File

@ -39,7 +39,11 @@ export class I18n<T extends ILocale> {
private devMode: boolean;
constructor(public locale: T, devMode = false) {
this.devMode = devMode;
// 場合によってはバージョンアップ前の翻訳データを参照した結果存在しないプロパティにアクセスしてクライアントが起動できなくなることがある問題の応急処置として非devモードでもプロキシする
// TODO: https://github.com/misskey-dev/misskey/issues/14453 が実装されたらそのようなことは発生し得なくなるため消す
const oukyuusyoti = true;
this.devMode = devMode || oukyuusyoti;
//#region BIND
this.t = this.t.bind(this);