Merge pull request #360 from PR0M3TH3AN/add-dashboard-home-button-16801596229675926990

Add Home button to dashboard linking to landing page
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-19 23:11:21 -05:00
commit f5d52bd13c
4 files changed
+33 -11

No files matched your search

+2
View File
@@ -160,8 +160,10 @@ export async function cmdDashboard(port = DEFAULT_DASHBOARD_PORT, host = '127.0.
// Security check: restrict access to allowed paths
const allowedPaths = [
path.join(packageRoot, 'dashboard'),
path.join(packageRoot, 'landing'),
path.join(packageRoot, 'assets'),
path.join(packageRoot, 'src', 'docs'),
path.join(packageRoot, 'src', 'prompts'),
path.join(packageRoot, 'src', 'constants.mjs'),
path.join(packageRoot, 'torch-config.json')
];