Skip to content

Commit beb14eb

Browse files
committed
🐛 fix: 修正动态链路的命中逻辑
1 parent 525654f commit beb14eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1/runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default async (req: Request) => {
2626
const item = manifest.plugins.find((i) => i.name === name);
2727

2828
// 先通过插件资产 endpoint 路径查询
29-
if (!!item?.runtime.endpoint) {
29+
if (!!item?.runtime.endpoint && item.runtime.endpoint.startsWith('https://')) {
3030
const res = await fetch(item.runtime.endpoint, { body: args, method: 'post' });
3131
const data = await res.text();
3232
console.log(`[${name}]`, args, `result:`, data.slice(0, 3600));

0 commit comments

Comments
 (0)