Skip to content

Commit

Permalink
Temporarily point to test account for final test
Browse files Browse the repository at this point in the history
  • Loading branch information
akinsola-guardian committed Jan 9, 2025
1 parent 68d0b13 commit f92b664
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const sectionExclusionList = ['info', 'help'];

export const isExcludedFromCMP = (pageSection: string): boolean => {
console.log('pageSection', pageSection);
return sectionExclusionList.some((section) => section === pageSection);
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { isGuardianDomain } from './domain';

export const ACCOUNT_ID = 1257;
export const PRIVACY_MANAGER_USNAT = 1068329;
export const PROPERTY_ID = 7417;
// export const PROPERTY_ID = 7417;
export const PROPERTY_ID = 9398;
export const PROPERTY_ID_AUSTRALIA = 13348;
export const PRIVACY_MANAGER_TCFV2 = 106842;
export const PRIVACY_MANAGER_AUSTRALIA = 1178486;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ const getPropertyHref = (framework: ConsentFramework): Property => {
if (framework == 'aus') {
return 'https://au.theguardian.com';
}
return isGuardianDomain() ? null : 'https://test.theguardian.com';
return isGuardianDomain() ? null : 'http://ui-dev';
// return isGuardianDomain() ? null : 'https://test.theguardian.com';
};

const getPropertyId = (framework: ConsentFramework): number => {
Expand Down

0 comments on commit f92b664

Please sign in to comment.