From 4d728f9f8baa40dc03270e8d399f9ed8bc66157c Mon Sep 17 00:00:00 2001 From: diced Date: Tue, 8 Aug 2023 23:46:41 -0700 Subject: [PATCH] fix: domain --- .github/ISSUE_TEMPLATE/config.yml | 2 +- src/components/pages/Manage/index.tsx | 3 +-- src/lib/config/validateConfig.ts | 4 ++-- src/lib/spotlight.tsx | 8 +------- src/pages/api/version.ts | 2 +- 5 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 4823244dd..d96ec9d9d 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -7,5 +7,5 @@ contact_links: url: https://discord.gg/EAhCRfGxCF about: Ask for help with anything related to Zipline! - name: Zipline Docs - url: https://zipline.diced.vercel.app + url: https://zipline.diced.sh about: Maybe take a look a the docs? diff --git a/src/components/pages/Manage/index.tsx b/src/components/pages/Manage/index.tsx index ada382988..5b4a94e29 100644 --- a/src/components/pages/Manage/index.tsx +++ b/src/components/pages/Manage/index.tsx @@ -367,8 +367,7 @@ export default function Manage({ oauth_registration, oauth_providers: raw_oauth_ Manage User Want to use variables in embed text? Visit{' '} - the docs for - variables + the docs for variables }); }), - actionLink( - 'Help', - 'Documentation', - 'View the documentation', - 'https://zipline.diced.vercel.app', - - ), + actionLink('Help', 'Documentation', 'View the documentation', 'https://zipline.diced.sh', ), // the list of actions here is very incomplete, and will be expanded in the future ]; diff --git a/src/pages/api/version.ts b/src/pages/api/version.ts index e1cc369c0..deea84ead 100644 --- a/src/pages/api/version.ts +++ b/src/pages/api/version.ts @@ -7,7 +7,7 @@ async function handler(_: NextApiReq, res: NextApiRes) { const pkg = JSON.parse(await readFile('package.json', 'utf8')); - const re = await fetch('https://zipline.diced.vercel.app/api/version?c=' + pkg.version); + const re = await fetch('https://zipline.diced.sh/api/version?c=' + pkg.version); const json = await re.json(); let updateToType = 'stable';