fix: preserve route limits and harden restore marker
This commit is contained in:
@@ -87,6 +87,8 @@ try {
|
||||
});
|
||||
await waitForServer(liveBase, liveRelease);
|
||||
const cookie = { cookie: 'eve_session=synthetic-session' };
|
||||
const liveRoot = await fetch(liveBase, { headers: cookie });
|
||||
await assertStatus(liveRoot, 200, 'authenticated fully-disabled root');
|
||||
const liveChat = await fetch(`${liveBase}/api/chat`, { method: 'POST', headers: { ...headers, origin: liveBase, ...cookie }, body: JSON.stringify({ message: '/value', requestId: crypto.randomUUID() }) });
|
||||
await assertStatus(liveChat, 503, 'authenticated chat gate');
|
||||
const liveSync = await fetch(`${liveBase}/api/sync`, { method: 'POST', headers: { origin: liveBase, ...cookie } });
|
||||
|
||||
Reference in New Issue
Block a user