mirror of
https://github.com/mileswolfallen2/miles-web.git
synced 2026-12-06 08:33:55 +00:00
update
This commit is contained in:
1 parent
f26fdd9d07
commit
16ae817c21
8 files changed
+13
-11
No files matched your search
@@ -65,6 +65,8 @@ test('HTTP app exposes documented APIs, security headers, and CORS allowlist', a
|
||||
assert.equal(status.status, 200);
|
||||
const statusBody = await status.json();
|
||||
assert.equal(statusBody.servers.length, 1);
|
||||
assert.equal(statusBody.servers[0].name, 'Home Server');
|
||||
assert.equal('ip' in statusBody.servers[0], false, 'public status must not expose server IPs');
|
||||
assert.equal(statusBody.services.length, 1);
|
||||
|
||||
const preflight = await fetch(base + '/api/status', {
|
||||
|
||||
Reference in new issue
Block a user