Initial import of LogDarioSeq baseline
Establishes version control for the personal Logseq DB fork before starting the server-client architecture migration and domain features described in docs/agent-guide and the approved implementation plan. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
9
deps/db-sync/worker/api_docs.mjs
vendored
Normal file
9
deps/db-sync/worker/api_docs.mjs
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
export function apiDocsResponse(path, html) {
|
||||
if (path !== "/api-docs" && path !== "/api-docs/") return null;
|
||||
return new Response(html, {
|
||||
headers: {
|
||||
"cache-control": "public, max-age=300",
|
||||
"content-type": "text/html; charset=utf-8",
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user