From dc4bc08440d7778fb9a80a885d60c2d8a808e242 Mon Sep 17 00:00:00 2001 From: Yash <67926590+Yash094@users.noreply.github.com> Date: Tue, 17 Jun 2025 16:35:10 +0530 Subject: [PATCH] replace article link --- apps/dashboard/redirects.js | 2 +- packages/thirdweb/src/cli/bin.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/dashboard/redirects.js b/apps/dashboard/redirects.js index a10eabbf1bf..8e4cfc42bd7 100644 --- a/apps/dashboard/redirects.js +++ b/apps/dashboard/redirects.js @@ -213,7 +213,7 @@ async function redirects() { { source: "/cli/login", destination: - "https://support.thirdweb.com/troubleshooting-errors/7Y1BqKNvtLdBv5fZkRZZB3/issue-linking-device-on-the-authorization-page-via-thirdweb-cli/cn9LRA3ax7XCP6uxwRYdvx", + "https://portal.thirdweb.com/knowledge-base/onchain-common-errors/thirdweb-cli/device-link-error", permanent: false, }, diff --git a/packages/thirdweb/src/cli/bin.ts b/packages/thirdweb/src/cli/bin.ts index 3c64e7c80b7..7519e5f03f2 100755 --- a/packages/thirdweb/src/cli/bin.ts +++ b/packages/thirdweb/src/cli/bin.ts @@ -47,7 +47,7 @@ async function main() { case "login": { // Not implemented yet console.info( - "Please instead pass a secret key to the command directly, learn more: https://support.thirdweb.com/troubleshooting-errors/7Y1BqKNvtLdBv5fZkRZZB3/issue-linking-device-on-the-authorization-page-via-thirdweb-cli/cn9LRA3ax7XCP6uxwRYdvx", + "Please instead pass a secret key to the command directly, learn more: https://portal.thirdweb.com/knowledge-base/onchain-common-errors/thirdweb-cli/device-link-error", ); process.exit(1); break; @@ -58,7 +58,7 @@ async function main() { const commands = ["deploy", "publish", "generate", "upload"]; if (commands.includes(command) && !rest.includes("-k")) { console.info( - "Please include the -k flag with your secret key, learn more: https://support.thirdweb.com/troubleshooting-errors/7Y1BqKNvtLdBv5fZkRZZB3/issue-linking-device-on-the-authorization-page-via-thirdweb-cli/cn9LRA3ax7XCP6uxwRYdvx", + "Please include the -k flag with your secret key, learn more: https://portal.thirdweb.com/knowledge-base/onchain-common-errors/thirdweb-cli/device-link-error", ); process.exit(1); return;