open-eats / OpenEats

:pizza: Self Hosted Recipe Management App :hamburger:
https://open-eats.github.io/
MIT License
669 stars 102 forks source link

Images of pictures not showing, due to the port not being put in the image url #152

Open cNorspang opened 3 years ago

cNorspang commented 3 years ago

When i add a new recipe, and upload pictures, they do not show. I've found out, that it is due to the port not being in the URL for the image, as seen below PicError

But, when i manually add the port, the pictures show up. PicThere

Is this due to some setting in the env file i've glossed over, or is it something else

hackmoore commented 3 years ago

What do your configs look like?

sepulzera commented 1 year ago

Late to the party, but for anyone stumbling upon this:

If reloading the page fixes the issue, then it is a bug in openeats-api. The bug is fixed in OwnRecipes with commit 9791f699c.

If the image links are broken permanently, then this is most likely related to the NODE_* env variables. Make sure that NODE_URL includes the port.