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.

fix emdash

Steven Teya96f7fed0361
diff --git a/apps/web/app/api/links/metatags/route.ts b/apps/web/app/api/links/metatags/route.ts
index e940209627..083a23176a 100644
--- a/apps/web/app/api/links/metatags/route.ts
+++ b/apps/web/app/api/links/metatags/route.ts
@@ -34,7 +34,7 @@ export async function GET(req: NextRequest) {
return NextResponse.json(
{
...metatags,
- poweredBy: "Dub – The Modern Link Attribution Platform",
+ poweredBy: "Dub - The Modern Link Attribution Platform",
},
{
headers: corsHeaders,
diff --git a/apps/web/app/manifest.ts b/apps/web/app/manifest.ts
index 81d365b1b6..a357a2b4b8 100644
--- a/apps/web/app/manifest.ts
+++ b/apps/web/app/manifest.ts
@@ -4,7 +4,7 @@ export default function manifest(): MetadataRoute.Manifest {
return {
name: "Dub",
short_name: "Dub",
- description: "Dub – The Modern Link Attribution Platform",
+ description: "Dub - The Modern Link Attribution Platform",
start_url: "/",
display: "standalone",
background_color: "#ffffff",
diff --git a/apps/web/tests/links/retrieve-metatags.test.ts b/apps/web/tests/links/retrieve-metatags.test.ts
index 5b60bc8db5..73879c2b1b 100644
--- a/apps/web/tests/links/retrieve-metatags.test.ts
+++ b/apps/web/tests/links/retrieve-metatags.test.ts
@@ -14,10 +14,10 @@ test("GET /links/metatags", async (ctx) => {
expect(status).toEqual(200);
expect(metatags).toStrictEqual({
- title: "Dub – The Modern Link Attribution Platform",
+ title: "Dub - The Modern Link Attribution Platform",
description:
"Dub is the modern link attribution platform for short links, conversion tracking, and affiliate programs.",
image: "https://assets.dub.co/thumbnail.jpg",
- poweredBy: "Dub – The Modern Link Attribution Platform",
+ poweredBy: "Dub - The Modern Link Attribution Platform",
});
});
diff --git a/apps/web/tests/redirects/index.test.ts b/apps/web/tests/redirects/index.test.ts
index eb530362a7..0f528e3314 100644
--- a/apps/web/tests/redirects/index.test.ts
+++ b/apps/web/tests/redirects/index.test.ts
@@ -3,7 +3,7 @@ import { describe, expect, test } from "vitest";
import { env } from "../utils/env";
import { IntegrationHarness } from "../utils/integration";
-const poweredBy = "Dub – The Modern Link Attribution Platform";
+const poweredBy = "Dub - The Modern Link Attribution Platform";
const fetchOptions: RequestInit = {
cache: "no-store",
redirect: "manual",
diff --git a/packages/utils/src/constants/middleware.ts b/packages/utils/src/constants/middleware.ts
index d731872b58..c18dda1c53 100644
--- a/packages/utils/src/constants/middleware.ts
+++ b/packages/utils/src/constants/middleware.ts
@@ -14,7 +14,7 @@ export const DEFAULT_REDIRECTS = {
};
export const DUB_HEADERS = {
- "x-powered-by": "Dub – The Modern Link Attribution Platform",
+ "x-powered-by": "Dub - The Modern Link Attribution Platform",
};
export const REDIRECTION_QUERY_PARAM = "redir_url";
diff --git a/packages/utils/src/functions/construct-metadata.ts b/packages/utils/src/functions/construct-metadata.ts
index c48e98b296..cc2a71c0f6 100644
--- a/packages/utils/src/functions/construct-metadata.ts
+++ b/packages/utils/src/functions/construct-metadata.ts
@@ -44,7 +44,7 @@ export function constructMetadata({
return {
title:
fullTitle ||
- (title ? `${title} | Dub` : "Dub – The Modern Link Attribution Platform"),
+ (title ? `${title} | Dub` : "Dub - The Modern Link Attribution Platform"),
description,
openGraph: {
title,