update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export default defineEventHandler(async (event) => {
|
||||
const docs = await queryCollection(event, "content").all();
|
||||
const docs = await queryCollection(event, "content").where("published", "==", true).all();
|
||||
|
||||
const urls: Array<{ loc: string; lastmod: string }> = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user