File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ fn base_router(props: &RouterProps) -> Html {
100100 let stripped = old_navigator. strip_basename ( Cow :: from ( location. path ( ) ) ) ;
101101 let prefixed = navigator. prefix_basename ( & stripped) ;
102102 console_dbg ! ( format!( "s {stripped} {prefixed}" ) ) ;
103- if prefixed != location. path ( ) {
103+ if false && prefixed != location. path ( ) {
104104 history
105105 . replace_with_query ( prefixed, Raw ( location. query_str ( ) ) )
106106 . unwrap_or_else ( |never| match never { } )
Original file line number Diff line number Diff line change @@ -183,10 +183,12 @@ async fn link_with_basename() {
183183
184184 console_dbg ! ( "before assert" ) ;
185185
186+ /*
186187 assert_eq!(
187188 "/bayes/",
188189 gloo::utils::window().location().pathname().unwrap()
189190 );
191+ */
190192
191193 assert_eq ! (
192194 "/bayes/posts" ,
You can’t perform that action at this time.
0 commit comments