implement nav chrome for bookmark previewer
This commit is contained in:
@@ -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"],
|
||||
}),
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user