Explorar el Código

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

Enrico Berti hace 8 años
padre
commit
c43de81f90
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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){
         page('*', function(ctx){
           console.error('Route not found', ctx);
           console.error('Route not found', ctx);
+          // force to editor
+          page('/editor');
         });
         });
 
 
         page();
         page();