FMHYedit/.vitepress/constants.ts

17 lines
699 B
TypeScript
Raw Normal View History

2023-11-12 16:42:57 +00:00
export const meta = {
name: "FreeMediaHeckYeah",
description:
2023-11-13 01:54:44 +00:00
"The largest collection of free stuff on the internet!",
2023-11-12 16:42:57 +00:00
hostname: process.env.COMMIT_REF ? "https://fmhy.netlify.app" : "https://fmhy.pages.dev",
keywords: ["stream", "movies", "gaming", "reading", "anime"],
};
// Netlify to Cloudflare otherwise dev
export const commitRef = process.env.COMMIT_REF
? `<a href="https://github.com/fmhy/FMHYEdit/commit/${process.env.COMMIT_REF
}">${process.env.COMMIT_REF.slice(0, 8)}</a>`
: process.env.CF_PAGES_COMMIT_SHA
? `<a href="https://github.com/fmhy/FMHYEdit/commit/${process.env.CF_PAGES_COMMIT_SHA
}">${process.env.CF_PAGES_COMMIT_SHA.slice(0, 8)}</a>`
: "dev";