-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IEs don't work with upstream proxying rules #471
Comments
@erasche |
yes, precisely! It's a separate directory in |
@erasche Can you see if this is what you were looking for: |
@carlfeberhard it sure is! Thanks a million. Would you mind adding this change as part of your PR? diff --git a/lib/galaxy/web/base/interactive_environments.py b/lib/galaxy/web/base/interactive_environments.py
index a146123..8cf456f 100644
--- a/lib/galaxy/web/base/interactive_environments.py
+++ b/lib/galaxy/web/base/interactive_environments.py
@@ -28,7 +28,7 @@ class InteractiveEnviornmentRequest(object):
self.attr.galaxy_config = trans.app.config
self.attr.galaxy_root_dir = os.path.abspath(self.attr.galaxy_config.root)
self.attr.root = web.url_for("/")
- self.attr.app_root = self.attr.root + "plugins/visualizations/" + self.attr.viz_id + "/static/"
+ self.attr.app_root = self.attr.root + "plugins/interactive_environments/" + self.attr.viz_id + "/static/"
plugin_path = os.path.abspath( plugin.path ) |
The default proxy rules suggest the following:
Specifically we take note of
which intends to match plugin JS files. Unfortunately this fails for interactive environments which still appear under a URL with
visualization
in it. I.e.https://FQDN/galaxy/plugins/visualizations/ipython/static/js/ipython.js
should behttps://FQDN/galaxy/plugins/interactive_environments/ipython/static/js/ipython.js
This doesn't appear without the upstream proxy, and short of symlinking IE files into the visualizations directory, there's no obvious solution.
CC @carlfeberhard
The text was updated successfully, but these errors were encountered: