Skip to content

Commit 3a73dfc

Browse files
committed
Update config
1 parent d3f8075 commit 3a73dfc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

constants/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export const CONFIG = {
22
urls: {
33
api: process.env.NEXT_PUBLIC_API_URL,
44
production: "https://frontmatter.codes",
5-
preview: process.env.CF_PAGES_URL,
5+
preview: "https://cloudflare.front-matter-docs.pages.dev",
66
local: "http://localhost:3000",
77
},
88
environment: process.env.NEXT_PUBLIC_VERCEL_ENV,

pages/docs/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { getAllPosts } from '../../lib/api';
77
import { PageFrontMatter } from '../../models/PageFrontMatter';
88
import { pageProcessing } from '../../utils/pageProcessing';
99
import markdownToHtml from '../../utils/markdownToHtml';
10-
import generateOgImage from '../../utils/generateOgImage';
1110

1211
export default function Home({ pages, page, ogImage }: { pages: PageFrontMatter[]; page: PageFrontMatter; ogImage?: string }) {
1312
const { t: strings } = useTranslation();

0 commit comments

Comments
 (0)