%PDF- %PDF-
Direktori : /var/www/html/node_modules/next/dist/server/web/ |
Current File : /var/www/html/node_modules/next/dist/server/web/error.js |
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class PageSignatureError extends Error { constructor({ page }){ super(`The middleware "${page}" accepts an async API directly with the form: export function middleware(request, event) { return NextResponse.redirect('/new-location') } Read more: https://nextjs.org/docs/messages/middleware-new-signature `); } } exports.PageSignatureError = PageSignatureError; class RemovedPageError extends Error { constructor(){ super(`The request.page has been deprecated in favour of \`URLPattern\`. Read more: https://nextjs.org/docs/messages/middleware-request-page `); } } exports.RemovedPageError = RemovedPageError; class RemovedUAError extends Error { constructor(){ super(`The request.ua has been removed in favour of \`userAgent\` function. Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent `); } } exports.RemovedUAError = RemovedUAError; //# sourceMappingURL=error.js.map