project_ai_mern_image_generation
project_ai_mern_image_generation copied to clipboard
Posts are not getting fetched in the home page
@TidbitsJS
I completed the youtube tutorial step by step understanding and do the same things done in the tutorial but my home page where the posts are I have uploaded on cloudinary are not getting fetched and always says no posts exist. please help me solve the problem.
Here is the link to my repo: https://github.com/Bibhavshah/Dalle_Ai
You have error in index.js on backend
it should be
app.get('/', (req, res) => { res.send('Hello from DALL-E') })
You have error in index.js on backend
it should be
app.get('/', (req, res) => { res.send('Hello from DALL-E') })
I think it should not have any difference because anyway its sending the response, just the difference is that mine is send it in JSON while the code you wrote is send text.
can i see your render logs?
no. like this