Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

fix: new changes for cookie #6012

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const onClientEntry = () => {
document.head.appendChild(dd_script)

addScript({
src: 'https://static.deriv.com/scripts/cookie.js',
src: 'https://static.deriv.com/scripts/cookie-test.js',
async: true,
strategy: 'off-main-thread',
})
Expand Down
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {
partytownProxiedURLs: [
`https://assets.customer.io/assets/track-eu.js`,
`https://assets.customer.io/assets/track.js`,
`https://static.deriv.com/scripts/cookie.js`,
`https://static.deriv.com/scripts/cookie-test.js`,
`https://widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js`,
],
plugins: [
Expand Down
2 changes: 1 addition & 1 deletion src/common/utility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export const redirectToTradingPlatform = () =>

// Function to manually add external js files.
type TSettings = {
src?: 'https://static.deriv.com/scripts/cookie.js'
src?: 'https://static.deriv.com/scripts/cookie-test.js'
text?: string
async: boolean
strategy?: 'off-main-thread'
Expand Down
2 changes: 1 addition & 1 deletion src/translations/ach.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "crwdns3835788:0crwdne3835788:0",
"-651384976": "crwdns3835790:0crwdne3835790:0",
"-1033881248": "crwdns3835792:0crwdne3835792:0"
}
}
2 changes: 1 addition & 1 deletion src/translations/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "موظف",
"-651384976": "الجنسيات",
"-1033881248": "شاهد صفقاتنا المفتوحة"
}
}
2 changes: 1 addition & 1 deletion src/translations/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "কর্মচারী",
"-651384976": "জাতীয়তা",
"-1033881248": "আমাদের ওপেন পজিশন দেখুন"
}
}
2 changes: 1 addition & 1 deletion src/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "Mitarbeiter",
"-651384976": "Nationalitäten",
"-1033881248": "Sehen Sie unsere offenen Stellen"
}
}
2 changes: 1 addition & 1 deletion src/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "empleados",
"-651384976": "nacionalidades",
"-1033881248": "Vea nuestros puestos disponibles"
}
}
2 changes: 1 addition & 1 deletion src/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "employés",
"-651384976": "nationalités",
"-1033881248": "Voir nos postes vacants"
}
}
2 changes: 1 addition & 1 deletion src/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "dipendenti",
"-651384976": "nazionalità",
"-1033881248": "Vedi le posizioni aperte"
}
}
2 changes: 1 addition & 1 deletion src/translations/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "직원",
"-651384976": "출신 국적",
"-1033881248": "채용 정보 보기"
}
}
2 changes: 1 addition & 1 deletion src/translations/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "pracowników",
"-651384976": "narodowości",
"-1033881248": "Zobacz nasze otwarte pozycje"
}
}
2 changes: 1 addition & 1 deletion src/translations/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "funcionários",
"-651384976": "nacionalidades",
"-1033881248": "Consulte as nossas vagas"
}
}
2 changes: 1 addition & 1 deletion src/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "сотрудников",
"-651384976": "национальностей",
"-1033881248": "Смотреть вакансии"
}
}
2 changes: 1 addition & 1 deletion src/translations/si.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "සේවකයින්",
"-651384976": "ජාතීන්",
"-1033881248": "අපගේ විවෘත ස්ථාන බලන්න"
}
}
2 changes: 1 addition & 1 deletion src/translations/sw.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "wafanyakazi",
"-651384976": "mataifa",
"-1033881248": "Tazama nafasi zetu zilizo wazi"
}
}
2 changes: 1 addition & 1 deletion src/translations/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "พนักงาน",
"-651384976": "สัญชาติ",
"-1033881248": "ดูตำแหน่งงานที่เปิดรับ"
}
}
2 changes: 1 addition & 1 deletion src/translations/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "çalışanlar",
"-651384976": "milliyetler",
"-1033881248": "Açık pozisyonlarımızı görün"
}
}
2 changes: 1 addition & 1 deletion src/translations/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "nhân viên",
"-651384976": "dân tộc",
"-1033881248": "Xem các vị trí đang tuyển"
}
}
2 changes: 1 addition & 1 deletion src/translations/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "雇员",
"-651384976": "国籍",
"-1033881248": "查看空缺职位"
}
}
2 changes: 1 addition & 1 deletion src/translations/zh_tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -4655,4 +4655,4 @@
"-1165835520": "僱員",
"-651384976": "國籍",
"-1033881248": "查看空缺職位"
}
}
Loading