diff --git a/src/sendgb.js b/src/sendgb.js index e474054..b934996 100644 --- a/src/sendgb.js +++ b/src/sendgb.js @@ -68,7 +68,7 @@ if (!res.ok || !res.body) { C.info("Content-type: " + res.headers.get("content-type")) const filename = res.headers.get("content-disposition")?.match(/filename="?([^"]+)"?/)?.[1] - ?? "download.zip"; + ?? `${url.replace(base, '')}-sendgb.zip`; C.info(`Downloading ${filename}`);