implement nav chrome for bookmark previewer

This commit is contained in:
2025-05-14 18:27:41 +01:00
parent c73082b9c9
commit 37cdf30159
14 changed files with 260 additions and 134 deletions

View File

@@ -27,11 +27,12 @@ async function main() {
GET: authenticated(listUserBookmarks),
POST: authenticated(addBookmark),
},
"/api/bookmark/:id": {
"/api/bookmarks/:id": {
GET: authenticated(fetchBookmark),
DELETE: authenticated(deleteUserBookmark),
OPTIONS: preflightHandler({
allowedMethods: ["GET", "POST", "DELETE", "OPTIONS"],
allowedHeaders: ["Accept"],
}),
},
},