Skip to content

feat: ignore download input img mime type & fix restricted mode image…#275

Closed
lgc2333 wants to merge 7 commits intokoishijs:mainfrom
lgc2333:main
Closed

feat: ignore download input img mime type & fix restricted mode image…#275
lgc2333 wants to merge 7 commits intokoishijs:mainfrom
lgc2333:main

Conversation

@lgc2333
Copy link
Contributor

@lgc2333 lgc2333 commented Mar 4, 2025

… filter

src/config.ts Outdated
translator?: boolean
lowerCase?: boolean
maxWords?: Computed<number>
ignoreAllowedInputImageTypes?: Computed<boolean>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个地方感觉可以改成一个 string[] 的 allowedImageTypes,默认值是 ALLOWED_TYPES

@lgc2333
Copy link
Contributor Author

lgc2333 commented Mar 16, 2025

@lgc2333
Copy link
Contributor Author

lgc2333 commented Mar 19, 2025

any update? @shigma

@lgc2333
Copy link
Contributor Author

lgc2333 commented Apr 10, 2025

pin @shigma

@lgc2333 lgc2333 closed this Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants