Open daleharvey opened 10 years ago
As far as I remember I did it because it's not always possible to know which part of the url is the docId. But it's probably only with _design/designDoc
, right?
The above commit / big PR does it, it takes out the first /dbname/ then joins the rest of the url so the rest is the docId
Fixed in #8
Now I know why I did that:
suppose I have a corsproxy on 9292. Then http://localhost:9292/localhost:5984/xxx/yyy
does not work.
Its usually easier to just give the url to the doc than to seperate its db + docid