The HTML links for the feed items were generated when the backend
received a message. At that point, the backend did not now on which URL
the front-end is mounted, so it couldn't generate proper links. On hubs-dev, the links were of the form http://0.0.0.0:5000/hubname/.
This commit has the front-end generate the links instead of the
backend, so the request context is known.
The HTML links for the feed items were generated when the backend
received a message. At that point, the backend did not now on which URL
the front-end is mounted, so it couldn't generate proper links. On
hubs-dev, the links were of the formhttp://0.0.0.0:5000/hubname/.This commit has the front-end generate the links instead of the
backend, so the request context is known.