mbostock/git-static

Serving index.html

pulsejet opened this issue · 1 comments

Is there some way I can serve index.html when no file is found for the path? In other words, if I go to localhost:3000/HEAD/, it should serve localhost:3000/HEAD/index.html

Figured this out. Can be done by falling back to trying index.html if the file requested is blank or ends with a trailing /