mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-18 02:14:32 +08:00
修复获取配置文件参数
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ export default (app: Router) => {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
content = getFileContentByName(
|
content = getFileContentByName(
|
||||||
join(config.samplePath, req.params.file),
|
join(config.configPath, req.params.file),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
res.send({ code: 200, data: content });
|
res.send({ code: 200, data: content });
|
||||||
|
|||||||
Reference in New Issue
Block a user