mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 18:59:26 +01:00
Add API endpoints for content and update MCP resources to use them
Co-authored-by: ArthurDanjou <29738535+ArthurDanjou@users.noreply.github.com>
This commit is contained in:
7
server/api/profile.get.ts
Normal file
7
server/api/profile.get.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export default defineEventHandler(async (event) => {
|
||||
const result = await queryCollection(event, 'profile')
|
||||
.where('extension', '=', 'md')
|
||||
.first()
|
||||
|
||||
return result
|
||||
})
|
||||
Reference in New Issue
Block a user