h3 1.15.2 → 1.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -4
- package/dist/index.mjs +1 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1684,10 +1684,7 @@ async function serveStatic(event, options) {
|
|
|
1684
1684
|
}
|
|
1685
1685
|
if (!meta) {
|
|
1686
1686
|
if (!options.fallthrough) {
|
|
1687
|
-
throw createError({
|
|
1688
|
-
statusMessage: "Cannot find static asset " + id,
|
|
1689
|
-
statusCode: 404
|
|
1690
|
-
});
|
|
1687
|
+
throw createError({ statusCode: 404 });
|
|
1691
1688
|
}
|
|
1692
1689
|
return false;
|
|
1693
1690
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1677,10 +1677,7 @@ async function serveStatic(event, options) {
|
|
|
1677
1677
|
}
|
|
1678
1678
|
if (!meta) {
|
|
1679
1679
|
if (!options.fallthrough) {
|
|
1680
|
-
throw createError({
|
|
1681
|
-
statusMessage: "Cannot find static asset " + id,
|
|
1682
|
-
statusCode: 404
|
|
1683
|
-
});
|
|
1680
|
+
throw createError({ statusCode: 404 });
|
|
1684
1681
|
}
|
|
1685
1682
|
return false;
|
|
1686
1683
|
}
|