diff --git a/plugins/1-copy-components.ts b/plugins/1-copy-components.ts index cd9f804..1679e21 100644 --- a/plugins/1-copy-components.ts +++ b/plugins/1-copy-components.ts @@ -1,7 +1,7 @@ import * as fs from "fs"; export default defineNitroPlugin(async () => { console.log("Copying components to public folder..."); - const rawKeys = await useStorage().getKeys("/assets/components"); + const rawKeys = await useStorage().getKeys("assets:components"); rawKeys.forEach(async (key) => { const cleanKey = key.replace("assets:components:", ""); const content = await useStorage().getItem(key);