Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
NebraskaCoder committed Feb 23, 2024
1 parent a663654 commit d751800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aboutPages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import path from "path";
import matter from "gray-matter";
import { processMarkdownAsHTML } from "@/utils/remarkUtils";

const contentDirectory = path.join(process.cwd(), "app/[locale]/about/[slug]");
const contentDirectory = path.join(process.cwd(), "about/[slug]");

export async function checkIfSlugIsValid(slug: string) {
console.info("checking slug", slug);
Expand Down

0 comments on commit d751800

Please sign in to comment.