Skip to content

Commit

Permalink
Task: add employeeexperience to CORS supported list (#2905)
Browse files Browse the repository at this point in the history
  • Loading branch information
thewahome authored Nov 30, 2023
1 parent 7e77876 commit 96f9a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/actions/query-action-creator-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export function parseResponse(
export function queryResultsInCorsError(sampleUrl: string): boolean {
sampleUrl = sampleUrl.toLowerCase();
if (
(['/drive/', '/drives/', '/driveItem/'].some((x) =>
(['/drive/', '/drives/', '/driveItem/', '/employeeexperience/'].some((x) =>
sampleUrl.includes(x)) && sampleUrl.endsWith('/content')) ||
sampleUrl.includes('/reports/')
) {
Expand Down

0 comments on commit 96f9a43

Please sign in to comment.