We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c759f8 commit b682008Copy full SHA for b682008
1 file changed
modules/dasBidAdapter.js
@@ -274,14 +274,16 @@ export const spec = {
274
const baseUrl = getEndpoint(data.ext.network);
275
const fullUrl = `${baseUrl}?data=${encodeURIComponent(jsonData)}`;
276
277
+ const useCredentials = !(!!data.ext?.adbeta);
278
+
279
// Switch to POST if URL exceeds 8k characters
280
if (fullUrl.length > 8192) {
281
return {
282
method: 'POST',
283
url: baseUrl,
284
data: jsonData,
285
options: {
- withCredentials: true,
286
+ withCredentials: useCredentials,
287
crossOrigin: true,
288
customHeaders: {
289
'Content-Type': 'text/plain'
@@ -294,7 +296,7 @@ export const spec = {
294
296
method: 'GET',
295
297
url: fullUrl,
298
299
300
301
},
302
};
0 commit comments