There is lot of hardcoding links in application (#3130)

* There is lot of hardcoding links in application

* Apply suggestions from code review

Co-authored-by: Joe Au-Yeung <[email protected]>

Co-authored-by: gitstart <[email protected]>
Co-authored-by: Omar López <[email protected]>
Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-07-01 11:19:52 -06:00
1 parent 669199e273
commit 00c9df7602
16 files changed
+60 -37

No files matched your search

+4 -2
View File
@@ -1,10 +1,12 @@
import { DefaultSeoProps } from "next-seo";
import { SEO_IMG_DEFAULT, SEO_IMG_OGIMG } from "@calcom/lib/constants";
import { HeadSeoProps } from "@components/seo/head-seo";
const seoImages = {
default: "https://cal.com/og-image.png",
ogImage: "https://og-image-one-pi.vercel.app/",
default: SEO_IMG_DEFAULT,
ogImage: SEO_IMG_OGIMG,
};
export const getSeoImage = (key: keyof typeof seoImages): string => {