浏览代码

HUE-6077 [frontend] Add route fro logs download

Enrico Berti 8 年之前
父节点
当前提交
eade846
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      desktop/core/src/desktop/templates/hue.mako

+ 3 - 0
desktop/core/src/desktop/templates/hue.mako

@@ -713,6 +713,9 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
           }},
           }},
           { url: '/dashboard/*', app: 'dashboard' },
           { url: '/dashboard/*', app: 'dashboard' },
           { url: '/desktop/dump_config', app: 'dump_config' },
           { url: '/desktop/dump_config', app: 'dump_config' },
+          { url: '/desktop/download_logs', app: function () {
+            location.href = '/desktop/download_logs';
+          }},
           { url: '/editor', app: function () {
           { url: '/editor', app: function () {
             // Defer to allow window.location param update
             // Defer to allow window.location param update
             _.defer(function () {
             _.defer(function () {