feat: update content
This commit is contained in:
parent
011a964256
commit
5aef42e16f
7 changed files with 8 additions and 10 deletions
|
|
@ -4,7 +4,7 @@ import matter from 'gray-matter'
|
|||
import { remark } from 'remark'
|
||||
import html from 'remark-html'
|
||||
|
||||
const root = path.join(process.cwd(), 'research')
|
||||
const root = path.join(process.cwd(), 'artifacts')
|
||||
|
||||
export async function getArtifact(dir: string, id: string) {
|
||||
const fullPath = path.join(root, dir, `${id}.md`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue