mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 23:46:06 +08:00
修复调试运行错误
This commit is contained in:
parent
cd9ba084ae
commit
1e9e9ee14b
|
@ -256,7 +256,7 @@ export default (app: Router) => {
|
|||
filename: string;
|
||||
path: string;
|
||||
};
|
||||
const filePath = join(path, filename);
|
||||
const filePath = join(config.scriptPath, path, filename);
|
||||
const scriptService = Container.get(ScriptService);
|
||||
const result = await scriptService.runScript(filePath);
|
||||
res.send(result);
|
||||
|
|
Loading…
Reference in New Issue
Block a user