Skip to content

Commit a96f7fe

Browse files
committed
fix emdash
1 parent 77e0aa4 commit a96f7fe

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

apps/web/app/api/links/metatags/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export async function GET(req: NextRequest) {
3434
return NextResponse.json(
3535
{
3636
...metatags,
37-
poweredBy: "Dub The Modern Link Attribution Platform",
37+
poweredBy: "Dub - The Modern Link Attribution Platform",
3838
},
3939
{
4040
headers: corsHeaders,

apps/web/app/manifest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default function manifest(): MetadataRoute.Manifest {
44
return {
55
name: "Dub",
66
short_name: "Dub",
7-
description: "Dub The Modern Link Attribution Platform",
7+
description: "Dub - The Modern Link Attribution Platform",
88
start_url: "/",
99
display: "standalone",
1010
background_color: "#ffffff",

apps/web/tests/links/retrieve-metatags.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ test("GET /links/metatags", async (ctx) => {
1414

1515
expect(status).toEqual(200);
1616
expect(metatags).toStrictEqual({
17-
title: "Dub The Modern Link Attribution Platform",
17+
title: "Dub - The Modern Link Attribution Platform",
1818
description:
1919
"Dub is the modern link attribution platform for short links, conversion tracking, and affiliate programs.",
2020
image: "https://assets.dub.co/thumbnail.jpg",
21-
poweredBy: "Dub The Modern Link Attribution Platform",
21+
poweredBy: "Dub - The Modern Link Attribution Platform",
2222
});
2323
});

apps/web/tests/redirects/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { describe, expect, test } from "vitest";
33
import { env } from "../utils/env";
44
import { IntegrationHarness } from "../utils/integration";
55

6-
const poweredBy = "Dub The Modern Link Attribution Platform";
6+
const poweredBy = "Dub - The Modern Link Attribution Platform";
77
const fetchOptions: RequestInit = {
88
cache: "no-store",
99
redirect: "manual",

packages/utils/src/constants/middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const DEFAULT_REDIRECTS = {
1414
};
1515

1616
export const DUB_HEADERS = {
17-
"x-powered-by": "Dub The Modern Link Attribution Platform",
17+
"x-powered-by": "Dub - The Modern Link Attribution Platform",
1818
};
1919

2020
export const REDIRECTION_QUERY_PARAM = "redir_url";

packages/utils/src/functions/construct-metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function constructMetadata({
4444
return {
4545
title:
4646
fullTitle ||
47-
(title ? `${title} | Dub` : "Dub The Modern Link Attribution Platform"),
47+
(title ? `${title} | Dub` : "Dub - The Modern Link Attribution Platform"),
4848
description,
4949
openGraph: {
5050
title,

0 commit comments

Comments
 (0)