Closed 2blo closed 1 year ago
unoptimized
unoptimized
too complicated, lets just check with the regex + domain matcher for now, users can just edit the post if the link is incorrect
store the form state as localStorage, not cookies, cookies are sent to the server, which we do not need.
current problem, either:
image
video
common
Solution
use the same page, just change the content based on if you enter url or file
z
validator for reddit / youtube - id matcher should be in the backend - generally not needed in client unless malicious.""
orundefined
? )preventDefault()
foronsubmit
client side video / image warning
if missing: