Open KendallWeihe opened 1 year ago
lots of good inspo to pull from starting at this line and going down https://github.com/tbdeng/pfi-prototype/blob/main/src/api.ts#L44
presumably this'll happen in the dwn-http-server.ts
so if we yank that out into a dedicated dwn-http-js
package (or however we choose to organize it) then it's no longer relevant here
web5-js was built in conjunction w/ dwn-server, and right now the proxy doesn't properly format the error responses