Manav Rathi před 1 rokem
rodič
revize
88b4aa02c7

+ 0 - 4
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

+ 1 - 2
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);