Skip to content

Commit

Permalink
。。。
Browse files Browse the repository at this point in the history
  • Loading branch information
Cksheuen committed Nov 2, 2023
1 parent 971dc0d commit c1f473d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/posts/postDirs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default defineEventHandler(async (event) => {
const body = await readBody(event)

const postsDirectory
= path.join(process.cwd(), '..')// , 'public', 'posts', body.path
= path.join(process.cwd(), '..', '___vc')// , 'public', 'posts', body.path
console.log(fs.readdirSync(postsDirectory))

// = `/posts/${body.path}`
Expand Down

0 comments on commit c1f473d

Please sign in to comment.