chore: remove código morto e padroniza scripts e CI
This commit is contained in:
1 parent
1bcb35d169
commit
d181c76dfd
13 files changed
+191
-412
No files matched your search
@@ -51,16 +51,6 @@ app.get("/health", async () => {
|
||||
return { status: "ok" };
|
||||
});
|
||||
|
||||
const streamQuerySchema = z.object({
|
||||
url: z.string().url("URL inválida").startsWith("http", "Apenas HTTP/HTTPS permitidos"),
|
||||
// Offset opcional em bytes para retomar download.
|
||||
offset: z
|
||||
.string()
|
||||
.regex(/^\d+$/)
|
||||
.transform((value) => Number.parseInt(value, 10))
|
||||
.optional(),
|
||||
});
|
||||
|
||||
const downloadManager = new DownloadManager(agent);
|
||||
|
||||
// Helper to get session from header
|
||||
|
||||
Reference in new issue
Block a user