feat(extension): expose request mutation methods on task.meta.req (#1538)

This commit is contained in:
Levi authored and GitHub committed 2026-09-23 09:33:28 +08:00
1 parent 6e60889ce8
commit f0dab90e09
13 files changed
+523 -41

No files matched your search

+1 -1
View File
@@ -41,6 +41,6 @@ gopeed.events.onError(async function (ctx) {
}
await req.putLabel("recovered", "true");
await ctx.task.setUrl(await gopeed.runtime.blob.createObjectURL(new Blob(["ok\n"], { type: "text/plain" })));
await ctx.task.meta.req.setUrl(await gopeed.runtime.blob.createObjectURL(new Blob(["ok\n"], { type: "text/plain" })));
await ctx.task.continue();
});