mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
In case of proxy-prefix configuration the $PATH_TO_IMAGES is not correctly converted. Removing the beginning Slash solves it for proxy-prefix configurations and other are not affected.
This commit is contained in:
@@ -1712,7 +1712,7 @@ def set_image_paths( app, encoded_repository_id, text ):
|
||||
"""
|
||||
if text:
|
||||
if app.name == 'galaxy':
|
||||
route_to_images = '/admin_toolshed/static/images/%s' % encoded_repository_id
|
||||
route_to_images = 'admin_toolshed/static/images/%s' % encoded_repository_id
|
||||
else:
|
||||
# We're in the tool shed.
|
||||
route_to_images = '/repository/static/images/%s' % encoded_repository_id
|
||||
|
||||
Reference in New Issue
Block a user