Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use config file to limit upload images #33

Merged
merged 1 commit into from
Jun 13, 2024
Merged

use config file to limit upload images #33

merged 1 commit into from
Jun 13, 2024

Conversation

sumn2u
Copy link
Owner

@sumn2u sumn2u commented Jun 13, 2024

Added the UPLOAD_LIMIT key with a value of 5 to limit the number of image files that can be uploaded. This limit is used in the image upload function. If the limit is exceeded, an error message will be displayed. If the limit is not exceeded, a success message will be shown.

Fixes #28

screencapture-localhost-5173-2024-06-13-15_29_16

screencapture-localhost-5173-2024-06-13-15_28_14 (1)

Copy link

vercel bot commented Jun 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
annotate-lab ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2024 8:36pm

@sumn2u sumn2u merged commit 596804d into master Jun 13, 2024
3 checks passed
@sumn2u sumn2u deleted the issue-28 branch June 13, 2024 20:37
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.

Managing Image Upload Limits
1 participant