Skip to content

Commit d8b79f1

Browse files
committed
chore: throw error if nuxt api is down
Fixes #229
1 parent 4a9fc40 commit d8b79f1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: docs/nuxt.config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export default defineNuxtConfig({
1717
async (_, nuxt) => {
1818
// build time for caching
1919
const { contributors } = await $fetch(`https://api.nuxt.com/modules/scripts`)
20-
.catch(() => ({ contributors: [] }))
2120
nuxt.options.runtimeConfig.public.contributors = contributors.map(m => m.id)
2221
},
2322
],

0 commit comments

Comments
 (0)