diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.ts | 1 | ||||
| -rw-r--r-- | src/services/jobs.ts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/config.ts b/src/config.ts index ac6fe98..e0bd0e1 100644 --- a/src/config.ts +++ b/src/config.ts | |||
| @@ -23,6 +23,7 @@ const mainQuery: GetPostQuery = { | |||
| 23 | "-hyper", | 23 | "-hyper", |
| 24 | "-lips", | 24 | "-lips", |
| 25 | "-dress", | 25 | "-dress", |
| 26 | "-crossdressing", | ||
| 26 | "-mouth_shot", | 27 | "-mouth_shot", |
| 27 | "-animated", | 28 | "-animated", |
| 28 | "-transformation", | 29 | "-transformation", |
diff --git a/src/services/jobs.ts b/src/services/jobs.ts index 878593b..5ecae66 100644 --- a/src/services/jobs.ts +++ b/src/services/jobs.ts | |||
| @@ -38,7 +38,7 @@ async function handlePost(post: e621.Post) { | |||
| 38 | const width = dims.width ?? 0; | 38 | const width = dims.width ?? 0; |
| 39 | const height = dims.height ?? 0; | 39 | const height = dims.height ?? 0; |
| 40 | 40 | ||
| 41 | if (Buffer.byteLength(file) > 1024 * 1024 * 9 || width > 2000 || height > 2000) { | 41 | if (Buffer.byteLength(file) > 1024 * 1024 * 9 || width > 2000 || height > 2000) { |
| 42 | console.log(`Compressing...`); | 42 | console.log(`Compressing...`); |
| 43 | 43 | ||
| 44 | file = await Sharp(file) | 44 | file = await Sharp(file) |
