next-s3-upload
next-s3-upload copied to clipboard
Error if API route is not setup correctly
If API route isn't setup correctly we should throw an error. The upload
function will get back an invalid response from the next server.