1 line
5.1 KiB
Plaintext
1 line
5.1 KiB
Plaintext
{"version":3,"sources":["../../../src/server/lib/route-resolver.ts"],"names":["url","path","findPageFile","getRequestMeta","setupDebug","getCloneableBody","findPagesDir","setupFsCheck","proxyRequest","getResolveRoutes","PERMANENT_REDIRECT_STATUS","formatHostname","signalFromNodeResponse","getMiddlewareRouteMatcher","pipeReadable","debug","makeResolver","dir","nextConfig","middleware","hostname","port","fsChecker","dev","minimalMode","config","appDir","pagesDir","fetchHostname","ensureCallback","item","result","type","Error","itemPath","pageExtensions","distDir","join","middlewareInfo","name","paths","files","map","file","process","cwd","wasm","assets","length","middlewareMatcher","matcher","regexp","originalSource","resolveRoutes","isNodeDebugging","initialize","requestHandler","req","res","headers","cloneableBody","run","require","edgeFunctionEntry","request","method","i18n","basePath","trailingSlash","body","signal","useCache","onWarning","console","warn","err","upgradeHandler","deleteAppClientCache","deleteCache","clearModuleContext","propagateServerField","resolveRoute","routeResult","isUpgradeReq","matchedOutput","bodyStream","statusCode","parsedUrl","resHeaders","finished","pathname","query","key","Object","keys","setHeader","destination","format","end","protocol","undefined","cloneBodyStream","experimental","proxyTimeout"],"mappings":"AAIA,OAAO,kBAAiB;AACxB,OAAO,yBAAwB;AAE/B,OAAOA,SAAS,MAAK;AACrB,OAAOC,UAAU,OAAM;AACvB,SAASC,YAAY,QAAQ,mBAAkB;AAC/C,SAASC,cAAc,QAAQ,kBAAiB;AAChD,OAAOC,gBAAgB,2BAA0B;AACjD,SAASC,gBAAgB,QAAQ,kBAAiB;AAClD,SAASC,YAAY,QAAQ,2BAA0B;AACvD,SAASC,YAAY,QAAQ,4BAA2B;AACxD,SAASC,YAAY,QAAQ,+BAA8B;AAC3D,SAASC,gBAAgB,QAAQ,gCAA+B;AAChE,SAASC,yBAAyB,QAAQ,6BAA4B;AACtE,SAASC,cAAc,QAAQ,oBAAmB;AAClD,SAASC,sBAAsB,QAAQ,8CAA6C;AACpF,SAASC,yBAAyB,QAAQ,yDAAwD;AAClG,S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