Modules cannot install or be accessed through YunoHost
Two problems:
-
the package is given by GET, on which is operated an
encodeURIComponent()
. However Nginx may decode the given URL (of the module) before giving it to DuniterUI server, which creates a bug. -
even if we enfore the installation through
duniter plug
, the modules like duniter-ui-cesium or g1-monit are not accessible because they use their own route atduniter.myunohost.me/
So for example, g1-monit tries to call the URL duniter.myunohost.me/duniter-currency-monit/
, but this URL does not route to anything to YunoHost. Only /webui
URLs are allowed.
We could circumvent this problem by adding a parent route /webui/modules and prefix any access by this URL in the modules.