update content

This commit is contained in:
ryanchristo 2026-11-20 08:33:43 -08:00
parent d22eb07a55
commit 339a4cb482
No known key found for this signature in database
16 changed files with 166 additions and 264 deletions

View file

@ -6,7 +6,8 @@ import html from "remark-html";
const root = path.join(process.cwd(), "artifacts");
export async function getArtifact(dir: string, id: string) {
export const getArtifact = async (dir: string, id: string) => {
// set file path
const fullPath = path.join(root, dir, `${id}.md`);
// read file contents