Skip to content

Commit

Permalink
build(packaging): ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinse12 authored and github-actions[bot] committed May 8, 2024
1 parent 7bab76c commit 80f0de9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/cli/commands/daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const fs_1 = tslib_1.__importDefault(require("fs"));
const promises_1 = tslib_1.__importDefault(require("fs/promises"));
const node_os_1 = require("node:os");
class Daemon extends core_1.Command {
static description = "Run a network-connected Plebbit node. Once the daemon is running you can create and start your subplebbits and receive publications from users";
static description = "Run a network-connected Plebbit node. Once the daemon is running you can create and start your subplebbits and receive publications from users. The daemon will also serve web ui on http that can be accessed through a browser on any machine. Within the web ui users are able to browse, create and manage their subs fully P2P";
static flags = {
plebbitDataPath: core_1.Flags.directory({
description: "Path to plebbit data path where subplebbits and ipfs node are stored",
Expand Down
2 changes: 1 addition & 1 deletion dist/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/webui/daemon-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async function startDaemonServer(daemonPort, ipfsGatewayPort, ipfsApiEndpoint, p
},
authKey: rpcAuthKey
});
const webuisDir = path_1.default.join(process.cwd(), "dist", "webuis");
const webuisDir = path_1.default.join(__dirname, "..", "..", "dist", "webuis");
const webUiNames = (await promises_1.default.readdir(webuisDir, { withFileTypes: true })).filter((file) => file.isDirectory()).map((file) => file.name);
const webuis = [];
log("Discovered webuis", webUiNames);
Expand Down

0 comments on commit 80f0de9

Please sign in to comment.