소스 검색

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();