I cant able to get apis after deployment

I have deployed my frontend and backend at the same server. that is “https://hsc-momento.onrender.com/” and my apis are in “Threads Clone” .
if i only deploy the backend it works very well i can get my apis but if i deploy the frontend & backend at the same server i cant get my apis, the GET request dont work but the POST request works,

please help me its been three days since i stuck in this problem


You’ve not provided much detail here, but at a guess, it might be something to do with your routing ordering.

A quick search for “express route priority”, brings up results like: https://stackoverflow.com/a/66678208


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.