Skip to content

Commit

Permalink
Take the Hue base URL into account when redirecting from the Hue 404 …
Browse files Browse the repository at this point in the history
…page (#2718)

Co-authored-by: Akhil S Naik <asnaik@cloudera.com>
  • Loading branch information
JohanAhlen and Akhil S Naik committed Feb 22, 2022
1 parent 5d16552 commit 049da69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/core/src/desktop/templates/common_header.mako
Expand Up @@ -203,7 +203,7 @@ ${ hueIcons.symbols() }
% if hasattr(request, 'environ') and request.environ.get("PATH_INFO").find("/hue/") < 0:
<script>
window.location.replace("/");
window.location.replace(window.HUE_BASE_URL || "/");
</script>
% endif
Expand Down

0 comments on commit 049da69

Please sign in to comment.