Skip to content

Commit acba3af

Browse files
ci: apply automated fixes
1 parent b63de2c commit acba3af

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

apps/web/src/lib/metadata/shared-metadata.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ export const DESCRIPTION =
99
export const OG_DESCRIPTION = "The status page for compliance-ready teams";
1010

1111
export const BASE_URL =
12-
process.env.NODE_ENV === "production" ? "https://www.openstatus.dev" : "http://localhost:3000";
12+
process.env.NODE_ENV === "production"
13+
? "https://www.openstatus.dev"
14+
: "http://localhost:3000";
1315

1416
export const APP_URL = "https://app.openstatus.dev";
1517

@@ -49,7 +51,9 @@ export const getPageMetadata = (page: MDXData, basePath?: string): Metadata => {
4951
title,
5052
)}&description=${encodeURIComponent(description)}&category=${encodeURIComponent(category)}`;
5153

52-
const url = basePath ? `${BASE_URL}/${basePath}/${slug}` : `${BASE_URL}/${slug}`;
54+
const url = basePath
55+
? `${BASE_URL}/${basePath}/${slug}`
56+
: `${BASE_URL}/${slug}`;
5357

5458
return {
5559
title,

0 commit comments

Comments
 (0)