File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export class Location {
8989
9090 if ( isBlank ( browserBaseHref ) ) {
9191 throw new BaseException (
92- `No base href set. Either provide a binding to "appBaseHrefToken" or add a base element.` ) ;
92+ `No base href set. Either provide a binding for the APP_BASE_HREF token or add a base element to the document .` ) ;
9393 }
9494
9595 this . _baseHref = stripTrailingSlash ( stripIndexHtml ( browserBaseHref ) ) ;
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ export function main() {
8181 locationStrategy . internalBaseHref = null ;
8282 expect ( ( ) => new Location ( locationStrategy ) )
8383 . toThrowError (
84- `No base href set. Either provide a binding to "appBaseHrefToken" or add a base element.` ) ;
84+ `No base href set. Either provide a binding for the APP_BASE_HREF token or add a base element to the document .` ) ;
8585 } ) ;
8686
8787 it ( 'should revert to the previous path when a back() operation is executed' , ( ) => {
You can’t perform that action at this time.
0 commit comments