sosedoff / pgweb

Cross-platform client for PostgreSQL databases
https://sosedoff.github.io/pgweb
MIT License
8.63k stars 732 forks source link

Linux: Wrong paths lead to asset error #180

Closed numbleroot closed 8 years ago

numbleroot commented 8 years ago

Hi Dan,

when I go get this project, go build and afterwards open up http://localhost:8081, I get an 400 error with following message: Asset static/index.html can't read by error: Error reading asset static/index.html at /Users/sosedoff/go/src/github.com/sosedoff/pgweb/static/index.html: open /Users/sosedoff/go/src/github.com/sosedoff/pgweb/static/index.html: no such file or directory

Taken from the closed issues, I guess #171 happened again.

Also: kudos for this great project!

sosedoff commented 8 years ago

You're right. Fixed the issue and will probably do something about it for the long run.