Go/ Fiber Image Upload Not Working in Production
HI, this is an odd one and a bit unlike what I have seen from others.
My local dev environment is and has been working without a hitch at all but when I try it on a production environment is am getting a filepath error that remains unresolved.
from production logs...
ive already tried adjusting the filepath the match the absolute. it doesnt work either.
failed to upload file: open ./public/uploads/377x305xoldswitch.jpg.pagespeed.ic.tLOiHcLqd4.jpg: no such file or directory
Go Code from main function and helper function
ummm, why is this happening?