Great, it works now. Thx, Günter.

Am Mittwoch, 30. Dezember 2015 12:32:24 UTC+1 schrieb Günter Zöchbauer:
>
> See also https://github.com/angular/angular/issues/4735
>
> On Wednesday, December 30, 2015 at 12:30:39 PM UTC+1, Günter Zöchbauer 
> wrote:
>>
>>
>> http://stackoverflow.com/questions/31415052/angular-2-0-router-not-working-on-reloading-the-browser/33573548#33573548
>>
>> On Wednesday, December 30, 2015 at 12:24:31 AM UTC+1, Manfred Steyer 
>> wrote:
>>>
>>> Hi,
>>>
>>> I'm using PathLocationStrategy. While the back-button and forward-button 
>>> work quite well, it is not possible to use the routes within bookmarks or 
>>> to refresh a page.
>>>
>>> Let's say this is the current url:
>>>
>>>    http://localhost:8080/voucher
>>>
>>> Let's assume that /voucher is the route-url and http://localhost:8080 
>>> is the Url of the SPA. When I hit refresh or load this page with a 
>>> bookmark, the browser tries to fetch the whole url 
>>> (http://localhost:8080/voucher) from the server. As this url does not 
>>> exist on the server side this fails.
>>>
>>> How to deal with this issue?
>>>
>>> Wishes,
>>> Manfred
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to