From e70fa83074546f6b743ce93a0ac40d3165560dee Mon Sep 17 00:00:00 2001 From: whyour Date: Sun, 14 May 2023 20:53:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/api/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });