diff --git a/back/api/config.ts b/back/api/config.ts index 0c33ed89..889f17ff 100644 --- a/back/api/config.ts +++ b/back/api/config.ts @@ -46,7 +46,7 @@ export default (app: Router) => { ); } else { content = getFileContentByName( - join(config.samplePath, req.params.file), + join(config.configPath, req.params.file), ); } res.send({ code: 200, data: content });