mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-06 00:10:02 +00:00
package: remove unnecessary abort-controller dependency
This commit is contained in:
parent
96ff8a873f
commit
8385cd2663
2 changed files with 0 additions and 2 deletions
|
@ -25,7 +25,6 @@
|
|||
},
|
||||
"homepage": "https://github.com/wukko/cobalt#readme",
|
||||
"dependencies": {
|
||||
"abort-controller": "3.0.0",
|
||||
"content-disposition-header": "0.6.0",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^16.0.1",
|
||||
|
|
|
@ -4,7 +4,6 @@ import { ffmpegArgs, genericUserAgent } from "../config.js";
|
|||
import { metadataManager } from "../sub/utils.js";
|
||||
import { request } from "undici";
|
||||
import { create as contentDisposition } from "content-disposition-header";
|
||||
import { AbortController } from "abort-controller"
|
||||
|
||||
function closeRequest(controller) {
|
||||
try { controller.abort() } catch {}
|
||||
|
|
Loading…
Reference in a new issue