Some plumbing to expose the actual bound SHS port so that I can make a dynamic room app.

This commit is contained in:
2024-03-07 21:03:14 -05:00
parent cf187ee46b
commit cb94ed6a2a
4 changed files with 21 additions and 10 deletions

View File

@ -578,6 +578,7 @@ async function getProcessBlob(blobId, key, options) {
imports.ssb = Object.fromEntries(
Object.keys(ssb).map((key) => [key, ssb[key].bind(ssb)])
);
imports.ssb.port = tildefriends.ssb_port;
imports.ssb.createIdentity = function () {
if (
process.credentials &&