enhance: implement sentryForFrontend (#15433)

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
zyoshoka 2025-04-02 15:44:04 +09:00 committed by GitHub
parent d0a98f6e6c
commit 0bf49818c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 202 additions and 4 deletions

View file

@ -127,6 +127,7 @@ export class MetaEntityService {
policies: { ...DEFAULT_POLICIES, ...instance.policies },
sentryForFrontend: this.config.sentryForFrontend ?? null,
mediaProxy: this.config.mediaProxy,
enableUrlPreview: instance.urlPreviewEnabled,
noteSearchableScope: (this.config.meilisearch == null || this.config.meilisearch.scope !== 'local') ? 'global' : 'local',