File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -94,23 +94,23 @@ const router = createRouter({
9494 } ,
9595 } ,
9696 {
97- path : '/texts/:textSlug/browse/:locId' ,
97+ path : '/texts/:textSlug? /browse/:locId? ' ,
9898 name : 'browse' ,
9999 component : BrowseView ,
100100 props : true ,
101101 } ,
102- {
103- path : '/bookmark/:textSlug/:alias' ,
104- name : 'bookmark' ,
105- component : ( ) => null ,
106- beforeEnter : async ( to ) => await _resolveBrowseLocation ( to . params ) ,
107- } ,
108102 {
109103 path : '/browse' ,
110104 name : 'browseResolve' ,
111105 component : ( ) => null ,
112106 beforeEnter : async ( to ) => await _resolveBrowseLocation ( to . query ) ,
113107 } ,
108+ {
109+ path : '/bookmark/:textSlug/:alias' ,
110+ name : 'bookmark' ,
111+ component : ( ) => null ,
112+ beforeEnter : async ( to ) => await _resolveBrowseLocation ( to . params ) ,
113+ } ,
114114 {
115115 path : '/search' ,
116116 name : 'search' ,
You can’t perform that action at this time.
0 commit comments