neon-jungle / wagtail-metadata

A tool to assist with metadata for social media and search engines.
BSD 3-Clause "New" or "Revised" License
116 stars 24 forks source link

image url is not correct #67

Closed marinaWobjects closed 3 years ago

marinaWobjects commented 3 years ago

hello , i have an issue with image meta . it's showing the localhost url instead of the server url as shown in this screenshot https://drive.google.com/file/d/1MfXLyuYmUd85YV570gUGjWND295HSdCG/view?usp=sharing

Could u please help ? thanks in advance, Matina

seb-b commented 3 years ago

The code that generates that url is found here

Is there any references to 127.0.0.1:8001 in your code? It might be an incorrect setting?

marinaWobjects commented 3 years ago

the reference for "127.0.0.1:8001" is in the server config not the code what do u mean by incorrect setting?

seb-b commented 3 years ago

It might be something to do with your server setup. Perhaps try using the BASE_URL setting?

Looks like someone here has a similar problem.

MarinaWagih commented 3 years ago

@seb-b thank u so much this was very helpful it's working now

seb-b commented 3 years ago

excellent!