feat: consolidate local-first mnote web runtime

This commit is contained in:
lix-2026
2026-05-28 22:01:44 +08:00
parent 7354807ee9
commit 39b9a0183a
154 changed files with 13591 additions and 12728 deletions
@@ -121,7 +121,7 @@ async function validateGateway(baseUrl) {
const rootText = await root.text();
assert.equal(root.status, 303, `/ 未登录应跳转 /auth: ${root.status} ${rootText.slice(0, 120)}`);
assert.equal(root.headers.get("x-mnote-web-owner"), "mnote-web");
assert.equal(root.headers.get("location"), "/auth");
assert.equal(root.headers.get("location"), "/auth?next=%2F");
const authedRoot = await fetchWithTimeout(`${baseUrl}/`, {
headers: {