everydaycats commited on
Commit
4666644
·
verified ·
1 Parent(s): 4fa9656

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +3 -1
app.js CHANGED
@@ -62,7 +62,9 @@ app.post("/api/ai-build", async (req, res) => {
62
  }
63
  else if (DEMO_MODE === 'SCAN_HIERARCHY') {
64
  // Scans whatever is selected (default behavior)
65
- return res.json({ action: "read_hierarchy" });
 
 
66
  }
67
  else if (DEMO_MODE === 'SCAN_SERVER_SERVICE') {
68
  // NEW: Specifically asks to scan ServerScriptService
 
62
  }
63
  else if (DEMO_MODE === 'SCAN_HIERARCHY') {
64
  // Scans whatever is selected (default behavior)
65
+ return res.json({ action: "read_hierarchy",
66
+ targetName: "Workspace"
67
+ });
68
  }
69
  else if (DEMO_MODE === 'SCAN_SERVER_SERVICE') {
70
  // NEW: Specifically asks to scan ServerScriptService