瀏覽代碼

HUE-6091 [core] Force to editor if a route is not found

Enrico Berti 8 年之前
父節點
當前提交
c43de81
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      desktop/core/src/desktop/templates/hue.mako

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

@@ -915,6 +915,8 @@ ${ assist.assistPanel() }
 
         page('*', function(ctx){
           console.error('Route not found', ctx);
+          // force to editor
+          page('/editor');
         });
 
         page();