mempool.js icon indicating copy to clipboard operation
mempool.js copied to clipboard

Remove hard-coded `/api` path

Open aryzing opened this issue 1 year ago • 0 comments

Would be great if the library could be more flexible to accomodate APIs not deployed at /api. Currently, this line in the code,

https://github.com/mempool/mempool.js/blob/d875bc250de0f110830042763554200fafcb0b41/src/services/api/index.ts#L19

assumes any API the lib interacts with is deployed at /api. Would recommend to either remove it or have it as a param.

aryzing avatar Jun 07 '24 13:06 aryzing