File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -274,6 +274,16 @@ def initialize_handlers(self):
274
274
{"url" : self .serverapp .base_url + "files/{0}" }
275
275
)
276
276
)
277
+ # Add a redirect from /nbclassic to /nbclassic/tree
278
+ # if both notebook>=7 and nbclassic are installed.
279
+ if len (nbclassic_path ()) > 0 :
280
+ handlers .append (
281
+ (
282
+ rf"/nbclassic" ,
283
+ RedirectHandler ,
284
+ {"url" : self .serverapp .base_url + "nbclassic/tree" }
285
+ )
286
+ )
277
287
278
288
# load extra services specified by users before default handlers
279
289
for service in self .settings ['extra_services' ]:
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ define(function(){
73
73
// tree
74
74
jglobal ( 'SessionList' , 'tree/js/sessionlist' ) ;
75
75
76
- Jupyter . version = "0.4.6 " ;
76
+ Jupyter . version = "0.5.0.dev0 " ;
77
77
Jupyter . _target = '_blank' ;
78
78
79
79
return Jupyter ;
You can’t perform that action at this time.
0 commit comments