feat: 收口 Rust Web 3000 主链
This commit is contained in:
@@ -331,7 +331,11 @@ async function run() {
|
||||
const titleResponse = await fetch("/api/documents/title", {
|
||||
method: "POST",
|
||||
headers: { "content-type": "application/json" },
|
||||
body: JSON.stringify({ ...common, title: "Browser Saved Title" }),
|
||||
body: JSON.stringify({
|
||||
...common,
|
||||
title: "Browser Saved Title",
|
||||
commandName: "page.head.updateTitle",
|
||||
}),
|
||||
});
|
||||
if (!titleResponse.ok) throw new Error(`title_failed_${titleResponse.status}`);
|
||||
const saveResponse = await fetch("/api/documents/save", {
|
||||
|
||||
Reference in New Issue
Block a user