Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Hash link are prepend by the driver letter on Windows #1289

Closed
JonathanDaSilva opened this issue Nov 4, 2013 · 2 comments
Closed

[Bug] Hash link are prepend by the driver letter on Windows #1289

JonathanDaSilva opened this issue Nov 4, 2013 · 2 comments

Comments

@JonathanDaSilva
Copy link

Hi.
I'm using NodeWebkit and AngularJs for building an app, but I have some problem with the routing.

For exemple I have a link

<a href="#/exemple">link</a>

But when I click it, the url bar change for : file://D:/index.html#/D:/exemple

If I use the HTML5Mode provide by Angular I have file://D:/exemple

@szwacz
Copy link

szwacz commented Nov 4, 2013

I've stumbled upon same issue. But I came to conclusion it is not node-webkit, but angular 1.2.0-rc3 fault, and reported an issue: angular/angular.js#4680
For me angular 1.2.0-rc2 is working fine, if you have different experience please share it.

@JonathanDaSilva
Copy link
Author

Hi.
Thank you so much for your response.
So the fault is from Angular 1.2-rc.3. I have only test it on Firefox and it works fine, but when you use Chrome the drive letters appears sorry for that.

The HTML5Mode doesn't work with rc.2 also but if tthe hash method work there are no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants