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!

don't generate PIDs with the '-' character

Blue Mousee751f6050947
diff --git a/src/utils/random.js b/src/utils/random.js
index 212c8a86d..2e61455cc 100644
--- a/src/utils/random.js
+++ b/src/utils/random.js
@@ -1,5 +1,5 @@
import { customAlphabet } from 'nanoid'
-const legalCharacters = '1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm-'
+const legalCharacters = '1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm'
export const nanoid = customAlphabet(legalCharacters, 12)