Scheduling infrastructure for absolutely everyone.
fix: developer docs url (#3914)
Udit Takkarcb1d881cc0f1
diff --git a/apps/web/pages/404.tsx b/apps/web/pages/404.tsxindex 104aa28e04a..e0306502a37 100644--- a/apps/web/pages/404.tsx+++ b/apps/web/pages/404.tsx@@ -3,7 +3,7 @@ import Link from "next/link";import { useRouter } from "next/router";import React, { useEffect, useState } from "react";-import { DOCS_URL, JOIN_SLACK, WEBSITE_URL } from "@calcom/lib/constants";+import { DEVELOPER_DOCS, DOCS_URL, JOIN_SLACK, WEBSITE_URL } from "@calcom/lib/constants";import { Icon } from "@calcom/ui/Icon";import { useLocale } from "@lib/hooks/useLocale";@@ -100,7 +100,7 @@ export default function Custom404() {<ul role="list" className="divide-y divide-gray-200 border-gray-200"><li className="px-4 py-2">- <Link href={`${DOCS_URL}/self-hosting/installation`}>+ <Link href={`${DEVELOPER_DOCS}/self-hosting/installation`}><a className="relative flex items-start space-x-4 py-6 rtl:space-x-reverse"><div className="flex-shrink-0"><span className="flex h-12 w-12 items-center justify-center rounded-lg bg-gray-50">diff --git a/packages/lib/constants.ts b/packages/lib/constants.tsindex 5f867c47bbe..12d817ed30a 100644--- a/packages/lib/constants.ts+++ b/packages/lib/constants.ts@@ -32,6 +32,7 @@ export const DESKTOP_APP_LINK = "https://cal.com/download";export const JOIN_SLACK = "https://cal.com/slack";export const POWERED_BY_URL = `${WEBSITE_URL}/?utm_source=embed&utm_medium=powered-by-button`;export const DOCS_URL = "https://docs.cal.com";+export const DEVELOPER_DOCS = "https://developer.cal.com";export const SEO_IMG_DEFAULT = `${WEBSITE_URL}/og-image.png`;export const SEO_IMG_OGIMG = "https://og-image-one-pi.vercel.app/";export const SEO_IMG_OGIMG_VIDEO = `${WEBSITE_URL}/video-og-image.png`;