1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-06 04:45:37 +02:00

fix(backend): meilisearchを使用していない場合のnoteSearchableScopeの値が誤っている問題を修正 (#17341)

* fix(backend): meilisearchを使用していない場合のnoteSearchableScopeの値が誤っている問題を修正

* Update Changelog
This commit is contained in:
かっこかり
2026-04-26 11:37:26 +09:00
committed by GitHub
parent 3a3057a1b1
commit 1dc5c60b2b
2 changed files with 2 additions and 1 deletions

View File

@@ -132,7 +132,7 @@ export class MetaEntityService {
sentryForFrontend: this.config.sentryForFrontend ?? null,
mediaProxy: this.config.mediaProxy,
enableUrlPreview: instance.urlPreviewEnabled,
noteSearchableScope: (this.config.meilisearch == null || this.config.meilisearch.scope !== 'local') ? 'global' : 'local',
noteSearchableScope: (this.config.fulltextSearch?.provider === 'meilisearch' && this.config.meilisearch?.scope === 'local') ? 'local' : 'global',
maxFileSize: this.config.maxFileSize,
federation: this.meta.federation,
};