Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

fix file preview issue

Forhad Hosainee43dbbea74f
diff --git a/packages/app/src/backend/routes/dbg/router.ts b/packages/app/src/backend/routes/dbg/router.ts
index 6047b164..f92e36e7 100644
--- a/packages/app/src/backend/routes/dbg/router.ts
+++ b/packages/app/src/backend/routes/dbg/router.ts
@@ -197,7 +197,9 @@ router.get('/file-proxy', includeTeamDetails, async (req, res) => {
debuggerUrl.searchParams.set('url', url);
// Forward the range header if present
- const headers: Record<string, string> = {};
+ const headers: Record<string, string | boolean> = {
+ 'x-smyth-debug': true,
+ };
if (req.headers.range) {
headers.Range = req.headers.range;
}