Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploaded recipe images served over 127.0.0.1 #56

Open
jinnatar opened this issue Nov 22, 2020 · 1 comment
Open

Uploaded recipe images served over 127.0.0.1 #56

jinnatar opened this issue Nov 22, 2020 · 1 comment

Comments

@jinnatar
Copy link

Recipe image serving is attempted over https://127.0.0.1:5210/site-media instead of /site-media/ which obviously does not work.

<img src="https://127.0.0.1:5210/site-media/CACHE/images/upload/recipe_photos/photo5897761104623416913/89243bb519c0e946e11c7a0e1cf48bae.jpg" alt="Palak Paneer">
@XiMMiX
Copy link

XiMMiX commented Jan 4, 2021

This is not a bug in openeats-web but in configuration of openeats-api:
Adding " USE_X_FORWARDED_HOST = True" to settings.py solves this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants