We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 525654f commit beb14ebCopy full SHA for beb14eb
api/v1/runner.ts
@@ -26,7 +26,7 @@ export default async (req: Request) => {
26
const item = manifest.plugins.find((i) => i.name === name);
27
28
// 先通过插件资产 endpoint 路径查询
29
- if (!!item?.runtime.endpoint) {
+ if (!!item?.runtime.endpoint && item.runtime.endpoint.startsWith('https://')) {
30
const res = await fetch(item.runtime.endpoint, { body: args, method: 'post' });
31
const data = await res.text();
32
console.log(`[${name}]`, args, `result:`, data.slice(0, 3600));
0 commit comments