Skip to content

Commit 3fdba77

Browse files
committed
fix: root route redirects to project preview instead of JSON
1 parent e399b6b commit 3fdba77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/api-node/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ app.use(generalLimiter);
4646

4747
// ── Root ──────────────────────────────────────────────────────────
4848
app.get("/", (_req, res) => {
49-
res.json({ name: "NovaForge API", version: "0.1.0", docs: "/health", preview: "/preview/:projectId/index.html" });
49+
res.redirect("/preview/demo-js/index.html");
5050
});
5151

5252
// ── Health ────────────────────────────────────────────────────────

0 commit comments

Comments
 (0)