Skip to content

Commit 0a366c7

Browse files
committed
refactor(web): use env for website url
1 parent 9b2c1da commit 0a366c7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

apps/web-roo-code/.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ NEXT_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com
66
# Basin Form Endpoint for Static Form Submissions
77
# Replace this with your actual Basin form endpoint (e.g., https://usebasin.com/f/your-form-id)
88
NEXT_PUBLIC_BASIN_ENDPOINT=https://usebasin.com/f/your-form-id-here
9+
10+
# Site URL used for canonical links and robots
11+
NEXT_PUBLIC_SITE_URL=https://roocode.com

apps/web-roo-code/src/lib/seo.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
const SITE_URL = process.env.NEXT_PUBLIC_SITE_URL ?? "https://roocode.com"
2+
13
export const SEO = {
2-
url: "https://roocode.com",
4+
url: SITE_URL,
35
name: "Roo Code",
46
title: "Roo Code – Your AI-Powered Dev Team in VS Code",
57
description:

0 commit comments

Comments
 (0)