Spaces:
Running
Running
| ; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| Object.defineProperty(exports, "notFound", { | |
| enumerable: true, | |
| get: function() { | |
| return notFound; | |
| } | |
| }); | |
| const _httpaccessfallback = require("./http-access-fallback/http-access-fallback"); | |
| /** | |
| * This function allows you to render the [not-found.js file](https://nextjs.org/docs/app/api-reference/file-conventions/not-found) | |
| * within a route segment as well as inject a tag. | |
| * | |
| * `notFound()` can be used in | |
| * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components), | |
| * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and | |
| * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations). | |
| * | |
| * - In a Server Component, this will insert a `<meta name="robots" content="noindex" />` meta tag and set the status code to 404. | |
| * - In a Route Handler or Server Action, it will serve a 404 to the caller. | |
| * | |
| * Read more: [Next.js Docs: `notFound`](https://nextjs.org/docs/app/api-reference/functions/not-found) | |
| */ const DIGEST = `${_httpaccessfallback.HTTP_ERROR_FALLBACK_ERROR_CODE};404`; | |
| function notFound() { | |
| const error = Object.defineProperty(new Error(DIGEST), "__NEXT_ERROR_CODE", { | |
| value: "E394", | |
| enumerable: false, | |
| configurable: true | |
| }); | |
| error.digest = DIGEST; | |
| throw error; | |
| } | |
| if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') { | |
| Object.defineProperty(exports.default, '__esModule', { value: true }); | |
| Object.assign(exports.default, exports); | |
| module.exports = exports.default; | |
| } | |
| //# sourceMappingURL=not-found.js.map |