mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修复获取配置文件参数
This commit is contained in:
parent
41521f1d08
commit
e70fa83074
|
@ -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 });
|
||||
|
|
Loading…
Reference in New Issue
Block a user