Skip to content

Commit

Permalink
fix: mention nuxt scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien committed Sep 7, 2024
1 parent 5668b65 commit e18c6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function setupPublicAssetStrategy(options: ModuleOptions['assets'] = {})
let size = 0
res = await fetch(url).then((r) => {
if (!r.ok) {
throw new Error(`Failed to download script: ${url}. ${r.statusText} (${r.status})`)
throw new Error(`@nuxt/scripts - Failed to download script: ${url}. ${r.statusText} (${r.status})`)
}
encoding = r.headers.get('content-encoding')
const contentLength = r.headers.get('content-length')
Expand Down

0 comments on commit e18c6f7

Please sign in to comment.