Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

increased to last 100 clicks

Steven Teyeacb37794cf3
diff --git a/components/home/globe.tsx b/components/home/globe.tsx
index aaaa273adb..d071c88d09 100644
--- a/components/home/globe.tsx
+++ b/components/home/globe.tsx
@@ -157,7 +157,7 @@ const GlobeAnimation = ({
</button>
<Drag className="h-12 w-12 mx-auto mb-2 sm:mb-4 text-gray-700" />
<p className="text-center text-gray-700 text-sm sm:text-base">
- This map shows the locations of the last 30 clicks on{" "}
+ This map shows the locations of the last 100 clicks on{" "}
<a
className="text-blue-800 font-semibold"
href={
diff --git a/pages/api/edge/coordinates.ts b/pages/api/edge/coordinates.ts
index 28ad8f136e..183ad20502 100644
--- a/pages/api/edge/coordinates.ts
+++ b/pages/api/edge/coordinates.ts
@@ -8,7 +8,7 @@ export const config = {
export default async function handler(req: NextRequest) {
if (req.method === "GET") {
- const numPoints = 30;
+ const numPoints = 100;
const hostname = req.nextUrl.searchParams.get("hostname");
const rawData = await redis.zrange<RawStatsProps[]>(
hostname ? `${hostname}:root:clicks` : "dub.sh:clicks:github",