Spaces:
Sleeping
Sleeping
Update app.js
Browse files
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
|