MSS icon indicating copy to clipboard operation
MSS copied to clipboard

gallery plots not shown on website, refactor remove url-prefix

Open gisi90 opened this issue 3 years ago • 4 comments

in index.py APP.route for /mss/static/plots/ to STATIC_LOCATION/plots/*.png missing

gisi90 avatar Feb 21 '22 14:02 gisi90

please share an url where that happens and was --url-prefix used?

ReimarBauer avatar Feb 21 '22 15:02 ReimarBauer

For example it is shown here (firefox, for none ssl url)

  • http://open-mss.org/mss/plots
  • https://forecast.fz-juelich.de/demo/mss/plots

I want to understand what the difference is

ReimarBauer avatar Feb 21 '22 15:02 ReimarBauer

I can't reproduce this when the correct --url-prefix is used.

ReimarBauer avatar Feb 22 '22 10:02 ReimarBauer

if this is about to get rid of --url-prefix this will be an enhancement, but there are several cases have to be checked.

  • Url: /
  • Url: /demo (also more than one of these locations)
  • different webservers at least nginx, gunicorn, apache2, development server
  • frontpage images has to work and the plots images

documentation needs updates and the argument url-prefix have to become removed

ReimarBauer avatar Feb 22 '22 11:02 ReimarBauer