Skip to content

Commit

Permalink
fix: remove mobile domains
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Jan 27, 2021
1 parent 82bd0a2 commit ae413db
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/util/sfdc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,7 @@ export const sfdc = {
* @param url
*/
isInternalUrl: (url: string): boolean => {
const INTERNAL_URL_PARTS = [
'.internal.',
'.vpod.',
'stm.salesforce.com',
'.blitz.salesforce.com',
'mobile1.t.salesforce.com',
];
const INTERNAL_URL_PARTS = ['.internal.', '.vpod.', 'stm.salesforce.com', '.blitz.salesforce.com'];

return url.startsWith('https://gs1.') || INTERNAL_URL_PARTS.some((part) => url.includes(part));
},
Expand Down

0 comments on commit ae413db

Please sign in to comment.