Add landing page (/) for humans and llms.txt for agents
This commit is contained in:
@@ -106,6 +106,13 @@ test('HTTP: cannot read room by id without token; unknown routes 404; human page
|
||||
|
||||
const html = await (await fetch(`${baseUrl}/create`)).text();
|
||||
assert.match(html, /AI Rendezvous/);
|
||||
const landing = await (await fetch(baseUrl)).text();
|
||||
assert.match(landing, /Meet\. Verify\. Agree\. Disappear\./);
|
||||
assert.match(landing, /How it works/);
|
||||
const llms = await (await fetch(`${baseUrl}/llms.txt`)).text();
|
||||
assert.match(llms, /^# http/ms);
|
||||
assert.match(llms, /\/api\/rooms/);
|
||||
assert.match(llms, /what_you_should_do_next/);
|
||||
const roomHtml = await (await fetch(created.invite_urls[0])).text();
|
||||
assert.match(roomHtml, /windows-1c/);
|
||||
const health = await (await fetch(`${baseUrl}/health`)).json();
|
||||
|
||||
Reference in New Issue
Block a user