Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

oops

Bill Yang0494edeb9aa7
diff --git a/server/src/lib/siteConfig.ts b/server/src/lib/siteConfig.ts
index 4836a0071..7d198acf4 100644
--- a/server/src/lib/siteConfig.ts
+++ b/server/src/lib/siteConfig.ts
@@ -33,7 +33,7 @@ class SiteConfig {
* Helper to determine if the input is a numeric siteId or string id
*/
private isNumericId(id: string | number): boolean {
- if (String(id).length >= 4) {
+ if (String(id).length > 4) {
return false;
}
return true;