initiation librodrome
This commit is contained in:
5
server/api/admin/content/site.put.ts
Normal file
5
server/api/admin/content/site.put.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export default defineEventHandler(async (event) => {
|
||||
const body = await readBody(event)
|
||||
await writeYaml('site.yml', body)
|
||||
return { ok: true }
|
||||
})
|
||||
Reference in New Issue
Block a user