File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/angular/ssr/src/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import {
2323} from '@angular/platform-server' ;
2424import { ActivatedRoute , Router } from '@angular/router' ;
2525import { Console } from '../console' ;
26- import { stripIndexHtmlFromURL , stripTrailingSlash } from './url' ;
26+ import { stripIndexHtmlFromURL } from './url' ;
2727
2828/**
2929 * Represents the bootstrap mechanism for an Angular application.
@@ -110,7 +110,7 @@ export async function renderAngular(
110110 } else if ( lastSuccessfulNavigation ) {
111111 hasNavigationError = false ;
112112 const { pathname, search, hash } = envInjector . get ( PlatformLocation ) ;
113- const finalUrl = [ stripTrailingSlash ( pathname ) , search , hash ] . join ( '' ) ;
113+ const finalUrl = [ pathname , search , hash ] . join ( '' ) ;
114114 const finalUrlHref = decodeURIComponent ( new URL ( finalUrl , urlToRender . origin ) . href ) ;
115115 const urlToRenderHref = decodeURIComponent ( urlToRender . href ) ;
116116
You can’t perform that action at this time.
0 commit comments