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.

chore: update w/ main

Pedro Ladeira91ac839232f3
diff --git a/apps/web/lib/middleware/utils/handle-not-found-link.ts b/apps/web/lib/middleware/utils/handle-not-found-link.ts
index 680a8dd48c..b43639df61 100644
--- a/apps/web/lib/middleware/utils/handle-not-found-link.ts
+++ b/apps/web/lib/middleware/utils/handle-not-found-link.ts
@@ -13,7 +13,7 @@ export const handleNotFoundLink = async (req: NextRequest) => {
headers: {
...DUB_HEADERS,
"X-Robots-Tag": "googlebot: noindex",
- // pass the Referer value to the not found URL
+ // pass the Referer [sic] value to the not found URL
Referer: req.url,
},
status: 302,
diff --git a/apps/web/ui/analytics/events/events-table.tsx b/apps/web/ui/analytics/events/events-table.tsx
index 914ab6441e..bbf73f094c 100644
--- a/apps/web/ui/analytics/events/events-table.tsx
+++ b/apps/web/ui/analytics/events/events-table.tsx
@@ -395,7 +395,7 @@ export default function EventsTable({
},
{
id: "referer",
- header: "Referer",
+ header: "Referrer",
accessorKey: "click.referer",
meta: {
filterParams: ({ getValue }) => ({ referer: getValue() }),
diff --git a/apps/web/ui/analytics/use-analytics-filters.tsx b/apps/web/ui/analytics/use-analytics-filters.tsx
index 61cb788018..595835d711 100644
--- a/apps/web/ui/analytics/use-analytics-filters.tsx
+++ b/apps/web/ui/analytics/use-analytics-filters.tsx
@@ -695,7 +695,7 @@ export function useAnalyticsFilters({
{
key: "referer",
icon: ReferredVia,
- label: "Referer",
+ label: "Referrer",
getOptionIcon: (value, props) => {
if (typeof value !== 'string') return null;
return <ReferrerIcon display={value} className="h-4 w-4" />;