Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

app starts only on root url (angular 2.4.8) #1

Closed
fulls1z3 opened this issue Feb 22, 2017 · 0 comments
Closed

app starts only on root url (angular 2.4.8) #1

fulls1z3 opened this issue Feb 22, 2017 · 0 comments
Assignees
Labels

Comments

@fulls1z3
Copy link
Owner

I'm submitting a ... (check one with "x")

[X] bug report => check the README and search github for a similar issue or PR before submitting
[ ] support request => check the README and search github for a similar issue or PR before submitting
[ ] feature request

Current behavior
After updating Angular to 2.4.8 (@angular/router 3.4.8), the application gets started only on root url.

You can navigate within the app using the routerLink directive. For instance, you can start the app on http://localhost:4200/ and navigate to http://localhost:4200/en/about.

But, when you type at the address bar http://localhost:4200/en/about, the app starts at http://localhost:4200/ - instead of http://localhost:4200/en/about.

Expected/desired behavior
When you type at the address bar http://localhost:4200/en/about, the app must start at http://localhost:4200/en/about.

Minimal reproduction of the problem with instructions
Check the source on @nglibs/example-app

What is the motivation / use case for changing the behavior?
Please check:

Please tell us about your environment:

  • Angular version: 2.0.X
    2.4.8 (@angular/router 3.4.8)

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
    all

  • Language: [all | TypeScript X.X | ES6/7 | ES5]
    TypeScript 2.0.x, TypeScript 2.1.x

  • Node (for AoT issues): node --version =
    v6.9.1

@fulls1z3 fulls1z3 added the bug label Feb 23, 2017
@fulls1z3 fulls1z3 self-assigned this Apr 3, 2017
@fulls1z3 fulls1z3 added the v2 label Sep 3, 2017
@fulls1z3 fulls1z3 changed the title [angular 2.4.8] app starts only on root url app starts only on root url (angular 2.4.8) Sep 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant