Reject an empty or non-http(s) endpoint, missing Pinata/Filebase tokens, and a custom (Kubo) endpoint that doesn't end in /api/v0/add before any data is sent, and derive the files/cp URL from the add URL so Kubo behind a proxy path works.
Reject an empty or non-http(s) endpoint, missing Pinata/Filebase tokens, and a custom (Kubo) endpoint that doesn't end in /api/v0/add before any data is sent, and derive the files/cp URL from the add URL so Kubo behind a proxy path works.