Explorar o código

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

Enrico Berti %!s(int64=8) %!d(string=hai) anos
pai
achega
c43de81
Modificáronse 1 ficheiros con 2 adicións e 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){
           console.error('Route not found', ctx);
+          // force to editor
+          page('/editor');
         });
 
         page();