|
@@ -1,6 +1,5 @@
|
|
import type {Query} from 'history';
|
|
import type {Query} from 'history';
|
|
|
|
|
|
-import ConfigStore from 'sentry/stores/configStore';
|
|
|
|
import type {EventTag} from 'sentry/types/event';
|
|
import type {EventTag} from 'sentry/types/event';
|
|
import type {Project} from 'sentry/types/project';
|
|
import type {Project} from 'sentry/types/project';
|
|
import {formatNumberWithDynamicDecimalPoints} from 'sentry/utils/formatters';
|
|
import {formatNumberWithDynamicDecimalPoints} from 'sentry/utils/formatters';
|
|
@@ -284,10 +283,6 @@ export function escapeDoubleQuotes(str: string) {
|
|
return str.replace(/\\([\s\S])|(")/g, '\\$1$2');
|
|
return str.replace(/\\([\s\S])|(")/g, '\\$1$2');
|
|
}
|
|
}
|
|
|
|
|
|
-export function generateBaseControlSiloUrl() {
|
|
|
|
- return ConfigStore.get('links').sentryUrl || '';
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
export function generateOrgSlugUrl(orgSlug) {
|
|
export function generateOrgSlugUrl(orgSlug) {
|
|
const sentryDomain = window.__initialData.links.sentryUrl.split('/')[2];
|
|
const sentryDomain = window.__initialData.links.sentryUrl.split('/')[2];
|
|
return `${window.location.protocol}//${orgSlug}.${sentryDomain}${window.location.pathname}`;
|
|
return `${window.location.protocol}//${orgSlug}.${sentryDomain}${window.location.pathname}`;
|