i have a question that can i put my api folder is in which folder or its neccessary to put it on the root/pages/api thz sir
@covalence-io11 ай бұрын
If you're using next.js they want it in /pages/api but if you're just creating a generic express server you can put it wherever you want
Жыл бұрын
Could You try now image uploading to the digital ocean from Next.js 13 clientside using a pre-signed URL? Would be interesting to see a solution.
@coderlicious6565 Жыл бұрын
This is a good solution. I've got a lambda function url with some simple data I need back, but I can't use nextjs. It has to be client code, since I'm calling it from a chrome extension. Wish me luck in my journey to figure out how to configure the lambda fn ( yep it's my aws account and the function is under my control, but there is so much conflicting documentation on how to add the Origin support on aws )