Browse Source

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

Enrico Berti 8 năm trước cách đây
mục cha
commit
c43de81f90
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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();