Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Inline constant

Manav Rathi88b4aa02c774
diff --git a/packages/shared/network/api.ts b/packages/shared/network/api.ts
index 9c7e609620..b079fa246c 100644
--- a/packages/shared/network/api.ts
+++ b/packages/shared/network/api.ts
@@ -72,10 +72,6 @@ export const getFamilyPortalURL = () => {
return `https://family.ente.io`;
};
-export const getSentryTunnelURL = () => {
- return `https://sentry-reporter.ente.io`;
-};
-
/*
It's a dev deployment (and should use the environment override for endpoints ) in three cases:
1. when the URL opened is that of the staging web app, or
diff --git a/packages/shared/sentry/config/sentry.config.base.ts b/packages/shared/sentry/config/sentry.config.base.ts
index 2885c60f98..6f3bbed6ed 100644
--- a/packages/shared/sentry/config/sentry.config.base.ts
+++ b/packages/shared/sentry/config/sentry.config.base.ts
@@ -1,5 +1,4 @@
import * as Sentry from '@sentry/nextjs';
-import { getSentryTunnelURL } from '@ente/shared/network/api';
import { getSentryUserID } from '@ente/shared/sentry/utils';
import { runningInBrowser } from '@ente/shared/platform';
import { getHasOptedOutOfCrashReports } from '@ente/shared/storage/localStorage/helpers';
@@ -22,7 +21,7 @@ export const setupSentry = async (dsn: string) => {
release: SENTRY_RELEASE,
attachStacktrace: true,
autoSessionTracking: false,
- tunnel: getSentryTunnelURL(),
+ tunnel: 'https://sentry-reporter.ente.io',
beforeSend(event) {
event.request = event.request || {};
const currentURL = new URL(document.location.href);