codeskyblue / gohttp

HTTP file server written by golang + reactjs, not maintained, move to https://github.com/codeskyblue/gohttpserver
240 stars 57 forks source link

can not see any file in browser when server running #5

Closed qihigh closed 9 years ago

qihigh commented 9 years ago

I got the server gohttp from Binary release download . When I setup the server by ./gohttp --port 8000 --root /Users/qihuan/ . A page show on address http://127.0.0.1:8000/ in browser . But no file list. These is not error list in go console,but Uncaught Error: Cannot find module "highlight.js" shown in browser in chrome's console.

codeskyblue commented 9 years ago

I see that too, I'm tring to find out why?

codeskyblue commented 9 years ago

@qihigh Should fix now. I added highlight to package.json

qihigh commented 9 years ago

it works!

qihigh commented 9 years ago

very convenient tools, good job!