feat: consolidate local-first mnote web runtime
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user