neojski / visualizeRevTree

Visualize couchdb/pouchdb revision tree right in your browser
MIT License
37 stars 6 forks source link

Visualizer does not respect port number #9

Closed neojski closed 10 years ago

neojski commented 10 years ago

If you type http://localhost:2020/xxx/yyy it does not work (it works like with 5984)

daleharvey commented 10 years ago

Ah sorry I took a guess and got the wrong one, if you replaced url.hostname with url.host it would do the right thing as well, but thats pretty much the same as this

neojski commented 10 years ago

https://github.com/neojski/visualizeRevTree/commit/8b8bb67355ab0df51a5c847ff1bf2e581f5fd1b8 :-)