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

/index.html gives 404 on preview #57

Closed
TheJare opened this issue Oct 3, 2012 · 1 comment
Closed

/index.html gives 404 on preview #57

TheJare opened this issue Oct 3, 2012 · 1 comment

Comments

@TheJare
Copy link
Contributor

TheJare commented Oct 3, 2012

http://localhost:8080/ shows the (implicit) index.html file, but an explicit URL of http://localhost:8080/index.html fails with 404

The final build contains the correct index.html file.

@TheJare
Copy link
Contributor Author

TheJare commented Oct 8, 2012

Solved this with a little change in server.coffee

callback (uri is item.url or ( item.url[item.url.length-1] == '/' and uri is (item.url + "index.html" ) ) )

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