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

Adding windows support to server the index.html in the static.js #430

Closed
wants to merge 1 commit into from

Conversation

kimo
Copy link

@kimo kimo commented Dec 2, 2011

server root in windows is '' and when it is represented in javascript it becomes ''.
may be this is an issue with the path, but this solves the problem on two windows machines that i tested

@kimo kimo closed this Dec 2, 2011
@kimo kimo reopened this Dec 2, 2011
@kimo kimo closed this Dec 2, 2011
@kimo kimo reopened this Dec 6, 2011
@bsparks
Copy link

bsparks commented Dec 9, 2011

I had this problem as well, and solved it the same way. +1 pull request

edit: nevermind, looks like it was fixed already...
bsparks@acd7aba#lib/middleware/static.js

it's just not updated in express

@kimo kimo closed this Dec 16, 2011
@kimo
Copy link
Author

kimo commented Dec 16, 2011

Thank you @bsparks

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

Successfully merging this pull request may close these issues.

None yet

2 participants