Skip to content

Commit

Permalink
ATL-1832: Revert add subdomains
Browse files Browse the repository at this point in the history
  • Loading branch information
elifmeric committed Mar 27, 2024
1 parent 82fa734 commit 0cded13
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/prpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,6 @@ export function makeHandler(root?: string, config?: Config): (
}
};

/**
* 'self' does not includes subdomains
* migros.com.tr/rest become rest.migros.com.tr
* in order to use other libraries like /user-edge
*/
const restSubdomains = [
"*.rest.migros.com.tr",
"*.rest.macrocenter.com.tr",
"*.rest.tazedirekt.com",
]
const scriptSrcAllowedHosts = [
"https://*.googlesyndication.com",
"https://www.googletagservices.com",
Expand Down Expand Up @@ -285,7 +275,6 @@ export function makeHandler(root?: string, config?: Config): (
"www.google.com.tr",
"magaza-iphone.migros.com.tr",
"*.rubiconproject.com",
...restSubdomains,
...scriptSrcAllowedHosts
];

Expand Down

0 comments on commit 0cded13

Please sign in to comment.