Open mcrummey opened 8 years ago
CouchDb does not support stringified JSON in the httpd rewrites section.
_google = {couch_httpd_proxy, handle_proxy_req, <<"http://www.google.com">>}
works, but
_google = "{couch_httpd_proxy, handle_proxy_req, <</"http://www.google.com/">>}"
does not.
grunt-couch should not stringify the value automatically, the user can use a string value if they wish.
I put the fix in in PR 34. https://github.com/jo/grunt-couch/pull/34
CouchDb does not support stringified JSON in the httpd rewrites section.
_google = {couch_httpd_proxy, handle_proxy_req, <<"http://www.google.com">>}
works, but
_google = "{couch_httpd_proxy, handle_proxy_req, <</"http://www.google.com/">>}"
does not.
grunt-couch should not stringify the value automatically, the user can use a string value if they wish.