Skip to content

Commit

Permalink
fix(example): getAllExamplesPath
Browse files Browse the repository at this point in the history
  • Loading branch information
RavenColEvol committed Sep 18, 2024
1 parent f0b0703 commit 1b0b3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/pages/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { readdirSync } from 'fs'
import { join } from 'path'

const examplePath = join(process.cwd(), 'examples')
const examplePath = join(process.cwd(), 'examples/ts')

export function getAllExamples() {
const slugs = readdirSync(examplePath)
Expand Down

0 comments on commit 1b0b3fa

Please sign in to comment.