Skip to content

Commit

Permalink
Merge branch 'master' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramon Candel authored and Ramon Candel committed Nov 16, 2023
2 parents 2e1e57e + 6c707b1 commit 2970c47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "drive-web",
"version": "v1.0.195",
"version": "v1.0.197",
"private": true,
"dependencies": {
"@headlessui/react": "1.7.5",
Expand Down
10 changes: 1 addition & 9 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Stand for privacy, switch to Internxt. Internxt's open-source suite of cloud storage services protects your right to privacy. Internxt Drive, Photos, Send, and more."
content="Stand for privacy, switch to Internxt. Internxt's open-source cloud storage services, Internxt Drive, Photos, Send, and more, protect your right to privacy."
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
Expand Down Expand Up @@ -73,14 +73,6 @@
e.page();
})();
</script>
<script>
const gaId = '%REACT_APP_GA_ID%';
const script = document.createElement('script');
script.src = `https://www.googletagmanager.com/gtag/js?id=${gaId}`;
script.integrity = 'sha384-xyoq3gKlDi+7/DsJyNOLLfoGnz5hAmD8nQAgo12TYpRAryflTwaOpab/lQeaFK8F';

document.head.appendChild(script);
</script>

<script src="https://www.googletagmanager.com/gtag/js?id=%REACT_APP_GA_ID%"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion src/app/analytics/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function setCookie(cookieName: string, cookieValue: string, expDays = 30)
const date = new Date();
date.setTime(date.getTime() + expDays * 24 * 60 * 60 * 1000);
const expires = `expires=${date.toUTCString()}`;
window.document.cookie = `${cookieName}=${cookieValue}; ${expires}; domain=internxt.com;`;
window.document.cookie = `${cookieName}=${cookieValue}; ${expires}; domain=internxt.com'`;
}

export function getCookie(cookieName: string): string {
Expand Down

0 comments on commit 2970c47

Please sign in to comment.