summaryrefslogtreecommitdiff
path: root/packages/backend/src/core
diff options
context:
space:
mode:
authorzyoshoka <107108195+zyoshoka@users.noreply.github.com>2025-04-02 15:44:04 +0900
committerGitHub <noreply@github.com>2025-04-02 15:44:04 +0900
commit0bf49818c4477b3bed53017a77885153395662b0 (patch)
tree6c03ba0cb265eaaae5e69648f092d4092a3174ff /packages/backend/src/core
parentfix(frontend): Fix #15744 (diff)
downloadsharkey-0bf49818c4477b3bed53017a77885153395662b0.tar.gz
sharkey-0bf49818c4477b3bed53017a77885153395662b0.tar.bz2
sharkey-0bf49818c4477b3bed53017a77885153395662b0.zip
enhance: implement `sentryForFrontend` (#15433)
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'packages/backend/src/core')
-rw-r--r--packages/backend/src/core/entities/MetaEntityService.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/backend/src/core/entities/MetaEntityService.ts b/packages/backend/src/core/entities/MetaEntityService.ts
index 08717bd066..02783dc450 100644
--- a/packages/backend/src/core/entities/MetaEntityService.ts
+++ b/packages/backend/src/core/entities/MetaEntityService.ts
@@ -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',