Repository navigation
Allow users to upload images larger than 5mb - #781
Merged
Merged
Conversation
AnilKumar3494
approved these changes
Oct 20, 2026
RNR1
reviewed
Oct 21, 2026
| // server to the production backend | ||
| server: { | ||
| proxy: { | ||
| '/submit-image': { |
RNR1
reviewed
Oct 21, 2026
| const submitUrl = `https://phlask.me/submit-image?type=${imageType}`; | ||
|
|
||
| // Allows local dev testing | ||
| const baseUrl = import.meta.env.DEV ? |
Contributor
Author
There was a problem hiding this comment.
For testing in local development, yes, but I'll omit these from the PR to handle in a separate ticket
RNR1
approved these changes
Oct 21, 2026
RNR1
left a comment
Contributor
There was a problem hiding this comment.
LGTM - this might need some cleanup
nathanktruong
force-pushed
the
780/bump-image-limit-to-20mb
branch
from
October 22, 2026 12:07
6addf06 to
4a88d0b
Compare
Contributor
Author
|
@RNR1 Thanks! Took out those changes, this is only the size limit now. Ready to merge. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Change Summary
maxSizefrom 5,242,880 (5MB) to 20,971,520 (20MB)Change Reason
PHLASK is hosting a walk this Saturday and we want new users to be able to submit images with their resources from their phone! Since modern phones output photos with large file sizes, the limit is being bumped while the compression work is in progress.
Verification [Optional]
Demonstration of beta + fix:
https://github.com/user-attachments/assets/82692e91-4fbf-4bee-87b4-7899c4feb8a2
Related Issue: #780