From d2410dde4ba78448275e5740866d49daf63499cf Mon Sep 17 00:00:00 2001 From: Hugo Montenegro Date: Fri, 8 Aug 2025 12:59:11 +0100 Subject: [PATCH] chore --- README.md | 2 +- public/game/peanut-game.html | 2 +- redirects.json | 2 +- scripts/README-qr-generator.md | 10 +++++----- src/app/api/health/route.ts | 2 +- src/assets/chains/arbitrum.svg | 2 +- src/components/Global/Footer/consts.ts | 4 ++-- src/components/Global/WalletNavigation/index.tsx | 2 +- src/components/Payment/Views/Error.validation.view.tsx | 2 +- src/components/Profile/index.tsx | 4 ++-- src/components/Setup/Views/SetupPasskey.tsx | 2 +- src/config/wagmi.config.tsx | 2 +- src/constants/tooltips.ts | 4 ++-- src/middleware.ts | 2 +- 14 files changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 3d2c4b911..ee2299790 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Live at: [peanut.to](https://peanut.me) | [staging.peanut.me](https://staging.peanut.to) +Live at: [peanut.me](https://peanut.me) | [staging.peanut.me](https://staging.peanut.me) ## Getting Started diff --git a/public/game/peanut-game.html b/public/game/peanut-game.html index 535e337c3..375a5ce37 100644 --- a/public/game/peanut-game.html +++ b/public/game/peanut-game.html @@ -4,7 +4,7 @@ - + diff --git a/redirects.json b/redirects.json index d0b264097..5cf53d343 100644 --- a/redirects.json +++ b/redirects.json @@ -1,7 +1,7 @@ [ { "source": "/docs", - "destination": "https://docs.peanut.to", + "destination": "https://docs.peanut.me", "permanent": false, "basePath": false }, diff --git a/scripts/README-qr-generator.md b/scripts/README-qr-generator.md index d746b5181..453ac4fae 100644 --- a/scripts/README-qr-generator.md +++ b/scripts/README-qr-generator.md @@ -17,7 +17,7 @@ This script generates an HTML page containing multiple Peanut-branded QR codes t You can run the script directly with individual links: ```bash -pnpm run script scripts/generate-qr-sheet.ts output.html "https://peanut.to/claim/link1" "https://peanut.to/claim/link2" +pnpm run script scripts/generate-qr-sheet.ts output.html "https://peanut.me/claim/link1" "https://peanut.me/claim/link2" ``` ### Using a File with Links @@ -25,10 +25,10 @@ pnpm run script scripts/generate-qr-sheet.ts output.html "https://peanut.to/clai For multiple links, create a text file with one link per line: ``` -https://peanut.to/claim/link1 -https://peanut.to/claim/link2 -https://peanut.to/claim/link3 -https://peanut.to/claim/link4 +https://peanut.me/claim/link1 +https://peanut.me/claim/link2 +https://peanut.me/claim/link3 +https://peanut.me/claim/link4 ``` Then run: diff --git a/src/app/api/health/route.ts b/src/app/api/health/route.ts index f26de8529..9c993868f 100644 --- a/src/app/api/health/route.ts +++ b/src/app/api/health/route.ts @@ -78,7 +78,7 @@ export async function GET() { const isDev = process.env.NODE_ENV === 'development' const baseUrl = isDev ? 'http://localhost:3000' - : process.env.NEXT_PUBLIC_BASE_URL || 'https://peanut.to' + : process.env.NEXT_PUBLIC_BASE_URL || 'https://peanut.me' const response = await fetchWithSentry(`${baseUrl}/api/health/${service}`, { method: 'GET', headers: { diff --git a/src/assets/chains/arbitrum.svg b/src/assets/chains/arbitrum.svg index fd76971ed..c92ceef08 100644 --- a/src/assets/chains/arbitrum.svg +++ b/src/assets/chains/arbitrum.svg @@ -1,6 +1,6 @@ - if you have found this link, congratz! please let us know in our discord! https://peanut.to/claim#?c=42161&v=v4&i=384&p=bDx82DdZrctC2pj8&t=ui + if you have found this link, congratz! please let us know in our discord! https://peanut.me/claim?c=42161&v=v4&i=384&t=ui#p=bDx82DdZrctC2pj8 {message} diff --git a/src/components/Profile/index.tsx b/src/components/Profile/index.tsx index 52f2422c5..ca2906cfb 100644 --- a/src/components/Profile/index.tsx +++ b/src/components/Profile/index.tsx @@ -31,7 +31,7 @@ export const Profile = () => { @@ -52,7 +52,7 @@ export const Profile = () => { diff --git a/src/components/Setup/Views/SetupPasskey.tsx b/src/components/Setup/Views/SetupPasskey.tsx index 497c75f90..00999b441 100644 --- a/src/components/Setup/Views/SetupPasskey.tsx +++ b/src/components/Setup/Views/SetupPasskey.tsx @@ -103,7 +103,7 @@ const SetupPasskey = () => { rel="noopener noreferrer" target="_blank" className="underline underline-offset-2" - href="https://docs.peanut.to/passkeys" + href="https://docs.peanut.me/passkeys" > Learn more about what Passkeys are {' '} diff --git a/src/config/wagmi.config.tsx b/src/config/wagmi.config.tsx index 817671980..b6267ea7c 100644 --- a/src/config/wagmi.config.tsx +++ b/src/config/wagmi.config.tsx @@ -16,7 +16,7 @@ const projectId = process.env.NEXT_PUBLIC_WC_PROJECT_ID ?? '' const metadata = { name: 'Peanut Protocol', description: 'Peanut protocol - send crypto with links', - url: process.env.NEXT_PUBLIC_BASE_URL || 'https://peanut.to', // origin must match your domain & subdomain + url: process.env.NEXT_PUBLIC_BASE_URL || 'https://peanut.me', // origin must match your domain & subdomain icons: [`${process.env.NEXT_PUBLIC_BASE_URL}/favicon.ico`], } diff --git a/src/constants/tooltips.ts b/src/constants/tooltips.ts index c2a86d4a2..cff536dd9 100644 --- a/src/constants/tooltips.ts +++ b/src/constants/tooltips.ts @@ -3,7 +3,7 @@ export const TOOLTIPS = { For US bank accounts, enter just your bank account number, no routing number. -Supported regions`, +Supported regions`, CLAIM_RECIPIENT_INFO: `You can claim your funds to: • Any Ethereum wallet address @@ -11,7 +11,7 @@ For US bank accounts, enter just your bank account number, no routing number. • EU bank account (IBAN) • US bank account -Learn more about supported regions`, +Learn more about supported regions`, CASHOUT_FAQ: `• What currencies can I cash out? Most popular tokens and stablecoins are supported. diff --git a/src/middleware.ts b/src/middleware.ts index 5904cec8e..d0af1213d 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -21,7 +21,7 @@ export function middleware(request: NextRequest) { // Handle promo link redirection if (isPromoLink(url)) { const fragment = url.searchParams.toString() - const redirectUrl = `https://peanut.to/claim?&${promoList[fragment]}` + const redirectUrl = `https://peanut.me/claim?&${promoList[fragment]}` return NextResponse.redirect(redirectUrl) }