YunoHost-Apps / bibliogram_ynh

Bibliogram package for YunoHost
GNU General Public License v3.0
5 stars 1 forks source link

RSS / Atom feeds with wrong url #2

Closed supermamie closed 4 years ago

supermamie commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

Versions

To Reproduce

  1. Go in Bibliogram
  2. Search for a user
  3. Click on RSS or Atom
  4. Import the feed in your favorite feed reader or open it via a text editor

Expected behavior Links inside of the feed should point to Bibliogram

Actual behaviour The links point to the internal url of Bibliogram : http://127.0.0.1:10407 (instead of https://bibliogram.myserver.fr ) So images can not be displayed and link point to nowhere.

ericgaspar commented 4 years ago

Thanks for reporting this. I will push a PR to fix it. In the meantime you can try to change the config file /var/www/bibliogram/config.js and replace http://127.0.0.1:10407 by your domain https://bibliogram.myserver.fr

supermamie commented 4 years ago

After changing this and restaring the service, it does work :smiley: