storyforge 0.4.8 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -681,6 +681,7 @@ async function findOrCreateProject(dir) {
|
|
|
681
681
|
}
|
|
682
682
|
const meta = {
|
|
683
683
|
projectId: project.id,
|
|
684
|
+
projectSlug: project.slug,
|
|
684
685
|
channelId: channel.id,
|
|
685
686
|
title: project.title,
|
|
686
687
|
channelName: channel.name,
|
|
@@ -1468,7 +1469,8 @@ Return ONLY the complete updated TSX. No markdown fences, no explanation.`;
|
|
|
1468
1469
|
res.end(JSON.stringify({ error: "Not found" }));
|
|
1469
1470
|
});
|
|
1470
1471
|
server.listen(port, () => {
|
|
1471
|
-
const
|
|
1472
|
+
const webFragment = meta.projectSlug ?? meta.projectId;
|
|
1473
|
+
const webUrl = `${WEB_URL}/forge/p/${webFragment}/pipeline`;
|
|
1472
1474
|
console.log("");
|
|
1473
1475
|
log.success("Running");
|
|
1474
1476
|
console.log("");
|