fix(plugin): start moderator reliably and colocate no-reply-api under plugin dir

This commit is contained in:
2026-03-08 06:57:22 +00:00
parent a2781139b0
commit bb10d6913e
3 changed files with 19 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ export function startNoReplyApi(
return;
}
const serverPath = path.resolve(pluginDir, "..", "no-reply-api", "server.mjs");
const serverPath = path.resolve(pluginDir, "no-reply-api", "server.mjs");
logger.info(`dirigent: resolved serverPath=${serverPath}`);
if (!fs.existsSync(serverPath)) {