It’s been a TOUGH coding day :>
WHAT’ NEW:
Share/unshare system allows users to share files from their local ‘Storage’ with other users and vice versa. I learned that Puter’s data model has separate user (for their own files) and me (for shared/app files), which has taken me a number of attempts to understand.
Added a confirmation dialog with custom styling to the delete function instead of a boring confirmation dialog.
In the works are an upvote/downvote and threaded comment feature to allow users to vote on designs in the community similar to Reddit’s.
Biggest debugging lesson of the day: CORS preflight requests need to define OPTIONS handlers on all routes, not just those that need CORS. One example was an attempt to resolve a CORS Access-Control-Allow-Methods header, which took so long to debug.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.