22ec210c25
The extractCid function was added to enable the extraction of a cid argument from either the url path or query string. This puts the proxy behaviour on par with the current IPFS API. The function does rely on the fact that ipfs-cluster doesn't intercept any command that has more than one subcommand. If that changes, this function will have to be updated. License: MIT Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com> |
||
---|---|---|
.. | ||
config_test.go | ||
config.go | ||
ipfshttp_test.go | ||
ipfshttp.go |