Skip to content

Commit 664942a

Browse files
committed
chore: switch host to devpulse.hallofcodes.org
- update metadata and open graph urls and images across pages and layout - update sitemap, robots, and static sitemap entries - update rate-limiter allowed origins regex to match new hostname - update privacy and terms copy to reference updated hostname - adjust README project name and description to include project features
1 parent 9cadab7 commit 664942a

14 files changed

Lines changed: 38 additions & 38 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# devpulse
44

5-
Measure and share your coding productivity with personalized leaderboards. Compare your progress with peers while keeping full control over privacy and leaderboard settings.
5+
Measure and share your coding productivity with personalized leaderboards. Compare your progress with peers while keeping full control over privacy and leaderboard settings with project management features.
66

77
## Getting Started
88
Install the dependencies:
@@ -18,7 +18,7 @@ First by creating a supabase cloud project:
1818
- click `New Project`
1919
- choose:
2020
- Organization → (create one if needed)
21-
- Project Name → e.g. devpulse-waka
21+
- Project Name → e.g. devpulse
2222
- Database Password → choose a secure one
2323
- Region → pick the nearest location
2424
- Click Create new project

app/(auth)/login/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ export const metadata: Metadata = {
2424
title: "Login - DevPulse",
2525
description:
2626
"Log in to your DevPulse account to monitor your coding activity and compete on leaderboards.",
27-
url: "https://devpulse-waka.vercel.app/login",
27+
url: "https://devpulse.hallofcodes.org/login",
2828
siteName: "DevPulse",
2929
images: [
3030
{
31-
url: "https://devpulse-waka.vercel.app/images/devpulse.cover.png",
31+
url: "https://devpulse.hallofcodes.org/images/devpulse.cover.png",
3232
width: 1200,
3333
height: 630,
3434
alt: "DevPulse Cover Image",
@@ -44,7 +44,7 @@ export const metadata: Metadata = {
4444
"Log in to your DevPulse account to monitor your coding activity and compete on leaderboards.",
4545
images: [
4646
{
47-
url: "https://devpulse-waka.vercel.app/images/devpulse.cover.png",
47+
url: "https://devpulse.hallofcodes.org/images/devpulse.cover.png",
4848
alt: "DevPulse Cover Image",
4949
},
5050
],

app/(auth)/signup/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ export const metadata: Metadata = {
1111
title: "Sign Up - DevPulse",
1212
description:
1313
"Create a DevPulse account to monitor your coding activity and compete on leaderboards.",
14-
url: "https://devpulse-waka.vercel.app/signup",
14+
url: "https://devpulse.hallofcodes.org/signup",
1515
siteName: "DevPulse",
1616
images: [
1717
{
18-
url: "https://devpulse-waka.vercel.app/images/devpulse.cover.png",
18+
url: "https://devpulse.hallofcodes.org/images/devpulse.cover.png",
1919
width: 1200,
2020
height: 630,
2121
alt: "DevPulse Cover Image",
@@ -31,7 +31,7 @@ export const metadata: Metadata = {
3131
"Create a DevPulse account to monitor your coding activity and compete on leaderboards.",
3232
images: [
3333
{
34-
url: "https://devpulse-waka.vercel.app/images/devpulse.cover.png",
34+
url: "https://devpulse.hallofcodes.org/images/devpulse.cover.png",
3535
alt: "DevPulse Cover Image",
3636
},
3737
],

app/(public)/flex/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ export const metadata: Metadata = {
2626
title: "Flexes - DevPulse",
2727
description:
2828
"Flex your coding projects and share your achievements with the DevPulse community. See what others are working on and get inspired!",
29-
url: "https://devpulse-waka.vercel.app/flex",
29+
url: "https://devpulse.hallofcodes.org/flex",
3030
siteName: "DevPulse",
3131
images: [
3232
{
33-
url: "https://devpulse-waka.vercel.app/images/devpulse.cover.png",
33+
url: "https://devpulse.hallofcodes.org/images/devpulse.cover.png",
3434
width: 1200,
3535
height: 630,
3636
alt: "DevPulse Cover Image",
@@ -46,7 +46,7 @@ export const metadata: Metadata = {
4646
"Flex your coding projects and share your achievements with the DevPulse community. See what others are working on and get inspired!",
4747
images: [
4848
{
49-
url: "https://devpulse-waka.vercel.app/images/devpulse.cover.png",
49+
url: "https://devpulse.hallofcodes.org/images/devpulse.cover.png",
5050
alt: "DevPulse Cover Image",
5151
},
5252
],

app/(public)/join/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export async function generateMetadata({
6363
description,
6464
type: "website",
6565
siteName: "DevPulse",
66-
url: `https://devpulse-waka.vercel.app/join?id=${encodeURIComponent(code)}`,
66+
url: `https://devpulse.hallofcodes.org/join?id=${encodeURIComponent(code)}`,
6767
},
6868
twitter: {
6969
card: "summary_large_image",

app/(public)/leaderboard/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ export const metadata: Metadata = {
2525
title: "Leaderboards - DevPulse",
2626
description:
2727
"Explore the DevPulse leaderboards and see how you rank against other developers. Check out the top coders and get inspired to climb the ranks!",
28-
url: "https://devpulse-waka.vercel.app/leaderboard",
28+
url: "https://devpulse.hallofcodes.org/leaderboard",
2929
siteName: "DevPulse",
3030
images: [
3131
{
32-
url: "https://devpulse-waka.vercel.app/images/devpulse.cover.png",
32+
url: "https://devpulse.hallofcodes.org/images/devpulse.cover.png",
3333
width: 1200,
3434
height: 630,
3535
alt: "DevPulse Cover Image",
@@ -45,7 +45,7 @@ export const metadata: Metadata = {
4545
"Explore the DevPulse leaderboards and see how you rank against other developers. Check out the top coders and get inspired to climb the ranks!",
4646
images: [
4747
{
48-
url: "https://devpulse-waka.vercel.app/images/devpulse.cover.png",
48+
url: "https://devpulse.hallofcodes.org/images/devpulse.cover.png",
4949
alt: "DevPulse Cover Image",
5050
},
5151
],

app/layout.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export async function generateMetadata(): Promise<Metadata> {
2323
const h = await headers();
2424

2525
return {
26-
metadataBase: new URL("https://devpulse-waka.vercel.app"),
26+
metadataBase: new URL("https://devpulse.hallofcodes.org"),
2727
title:
2828
"DevPulse - Monitor Your Coding Activity and Compete on Leaderboards",
2929
description:
@@ -41,21 +41,21 @@ export async function generateMetadata(): Promise<Metadata> {
4141
"productivity insights",
4242
],
4343
alternates: {
44-
canonical: `https://devpulse-waka.vercel.app${h.get("x-pathname")}`,
44+
canonical: `https://devpulse.hallofcodes.org${h.get("x-pathname")}`,
4545
types: {
46-
"application/xml": "https://devpulse-waka.vercel.app/sitemap.xml",
46+
"application/xml": "https://devpulse.hallofcodes.org/sitemap.xml",
4747
},
4848
},
4949
openGraph: {
5050
title:
5151
"DevPulse - Monitor Your Coding Activity and Compete on Leaderboards",
5252
description:
5353
"DevPulse is a platform that tracks your coding activity and allows you to compete with other developers on leaderboards. Sign up now to start monitoring your coding habits and see how you stack up against the competition!",
54-
url: `https://devpulse-waka.vercel.app${h.get("x-pathname")}`,
54+
url: `https://devpulse.hallofcodes.org${h.get("x-pathname")}`,
5555
siteName: "DevPulse",
5656
images: [
5757
{
58-
url: "https://devpulse-waka.vercel.app/images/devpulse.cover.png",
58+
url: "https://devpulse.hallofcodes.org/images/devpulse.cover.png",
5959
width: 1200,
6060
height: 630,
6161
alt: "DevPulse Cover Image",
@@ -72,7 +72,7 @@ export async function generateMetadata(): Promise<Metadata> {
7272
"DevPulse is a platform that tracks your coding activity and allows you to compete with other developers on leaderboards. Sign up now to start monitoring your coding habits and see how you stack up against the competition!",
7373
images: [
7474
{
75-
url: "https://devpulse-waka.vercel.app/images/devpulse.cover.png",
75+
url: "https://devpulse.hallofcodes.org/images/devpulse.cover.png",
7676
alt: "DevPulse Cover Image",
7777
},
7878
],
@@ -106,7 +106,7 @@ export default function RootLayout({
106106
content="9BoujBl0viqXOwAOwv8uJM-JkJo7gDrt_f1ID9NabRI"
107107
/>
108108
<meta name="viewport" content="width=device-width, initial-scale=1" />
109-
<meta name="hostname" content="devpulse-waka.vercel.app" />
109+
<meta name="hostname" content="devpulse.hallofcodes.org" />
110110
<NortonSafeweb />
111111
</head>
112112
<body

app/legal/privacy/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function Privacy() {
2222
This Privacy Policy explains how <strong>DevPulse</strong>{" "}
2323
(&quot;we&quot;, &quot;our&quot;, or &quot;us&quot;) collects, uses,
2424
and protects your information when you use
25-
<strong> devpulse-waka.vercel.app</strong>.{" "}
25+
<strong> devpulse.hallofcodes.org</strong>.{" "}
2626
</p>
2727

2828
<h2 className="text-xl font-semibold mt-6 mb-2">

app/legal/terms/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function Terms() {
2222
These Terms of Service (&quot;Terms&quot;) govern your use of{" "}
2323
<strong>DevPulse</strong>
2424
(&quot;we&quot;, &quot;our&quot;, or &quot;us&quot;) available at{" "}
25-
<strong>devpulse-waka.vercel.app</strong>. By using this service, you
25+
<strong>devpulse.hallofcodes.org</strong>. By using this service, you
2626
agree to these Terms.
2727
</p>
2828

app/lib/proxy/rate-limiter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function RateLimiter(
1515
const allowedOrigins =
1616
process.env.NODE_ENV === "development"
1717
? [/^http:\/\/localhost:\d+$/, /^http:\/\/127\.0\.0\.1:\d+$/]
18-
: [/^https?:\/\/devpulse-waka\.vercel\.app(:\d+)?$/];
18+
: [/^https?:\/\/devpulse\.hallofcodes\.org(:\d+)?$/];
1919

2020
const isOriginAllowed =
2121
!origin || allowedOrigins.some((pattern) => pattern.test(origin));

0 commit comments

Comments
 (0)