Эх сурвалжийг харах

HUE-7743 [frontend] Allow a different page.js base for embedded mode

Johan Ahlen 8 жил өмнө
parent
commit
4d7922f

+ 1 - 1
desktop/core/src/desktop/templates/hue.mako

@@ -987,7 +987,7 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
           $(this).attr('href', link);
         });
 
-        page.base('/hue');
+        page.base(typeof HUE_EMBEDDED_BASE_URL !== 'undefined' ? HUE_EMBEDDED_BASE_URL : '/hue');
 
         self.lastContext = null;