Browse Source

feat(hybrid-cloud): Update DEFAULT_APP_ROUTE for customer domains (#41520)

Alberto Leal 2 years ago
parent
commit
b0b214fa36
1 changed files with 3 additions and 1 deletions
  1. 3 1
      static/app/constants/index.tsx

+ 3 - 1
static/app/constants/index.tsx

@@ -17,7 +17,9 @@ export const usingCustomerDomain =
 // to when the application does not have any further context
 //
 // e.g. loading app root or switching organization
-export const DEFAULT_APP_ROUTE = '/organizations/:orgSlug/issues/';
+export const DEFAULT_APP_ROUTE = usingCustomerDomain
+  ? '/issues/'
+  : '/organizations/:orgSlug/issues/';
 
 export const API_ACCESS_SCOPES = [
   'project:read',