Skip to content

Commit cec47f7

Browse files
authored
fix: featured cards (#1055)
1 parent 814fda7 commit cec47f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/endpoints/step-endpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const stepEndpoint = (app: Express, lockedData: LockedData) => {
3434
try {
3535
const content = await fs.readFile(step.filePath, 'utf8')
3636
const features = await getFeatures(
37-
step.filePath.replace(`${path.sep}steps${path.sep}`, `${path.sep}tutorial${path.sep}`),
37+
step.filePath.replace(`${path.sep}src${path.sep}`, `${path.sep}tutorial${path.sep}`),
3838
)
3939

4040
res.status(200).send({ id, content, features })

0 commit comments

Comments
 (0)