Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

remove semicolon

Blue Mousee2e047626312
diff --git a/src/utils/cookie.js b/src/utils/cookie.js
index f637d5e7a..de81e3efb 100644
--- a/src/utils/cookie.js
+++ b/src/utils/cookie.js
@@ -2,7 +2,7 @@ import { isDevelopment } from '../redux/constants'
const COOKIE_DOMAIN = 'swetrix.com'
-const COOKIE_SUFFIX = isDevelopment ? ';' : `; domain=${COOKIE_DOMAIN}; secure`
+const COOKIE_SUFFIX = isDevelopment ? '' : `; domain=${COOKIE_DOMAIN}; secure`
export const getCookie = key => {
const match = document.cookie.match(new RegExp(`(^| )${key}=([^;]+)`))