accept port option used by ssb-serve-blobs

as part of the work for manyverse!383 (merged), this plugin needs to be able to accept a port number to pass to the ssb-serve-blob utility that's being used

Ideally a test would be added for this, but I wasn't able ran into a couple of issues:

  1. ran into an ESM compat issue related to the unist-util-visit dep. Updating the package.json in the following way fixed the issue (not included in this MR but can do so if desired):
- "unist-util-visit": ">=1.0.0 <=3.0",
+ "unist-util-visit": ">=1.0.0 <3.0",
  1. The existing test failed (basically expected didn't match actual). Not super familiar with the ecosystem so haven't investigated why it's failing.
Edited by Andrew Chou

Merge request reports

Loading