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

+5
View File
@@ -43,6 +43,11 @@ test('Dashboard File Access Security', async (t) => {
assert.strictEqual(res.statusCode, 200);
});
await t.test('allows access to landing page', async () => {
const res = await get('/landing/index.html');
assert.strictEqual(res.statusCode, 200);
});
await t.test('blocks access to package.json', async () => {
const res = await get('/package.json');
assert.strictEqual(res.statusCode, 403);