Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

log raw URL + caller before validation in browser navigate route

[._.]/ Adam Eivy3f4a2f31266c
diff --git a/server/routes/browser.js b/server/routes/browser.js
index a2e4338e7d..e2449ae61e 100644
--- a/server/routes/browser.js
+++ b/server/routes/browser.js
@@ -108,8 +108,9 @@ router.post('/restart', asyncHandler(async (req, res) => {
// POST /api/browser/navigate - Open a URL in the CDP browser
router.post('/navigate', asyncHandler(async (req, res) => {
+ const caller = req.headers['referer'] || req.headers['origin'] || 'unknown';
+ console.log(`🌐 Navigate: ${req.body?.url} (from ${caller})`);
const { url } = validateRequest(navigateSchema, req.body);
- console.log(`🌐 Navigate requested: ${url}`);
const page = await browserService.navigateToUrl(url);
res.json(page);
}));