/opt/canhelp/node_modules/next/dist/esm/server/route-modules/app-route/helpers
NameSizeModeActions
auto-implement-methods.js31770644editdlrm
auto-implement-methods.js.map47380644editdlrm
clean-url.js3330644editdlrm
clean-url.js.map6820644editdlrm
get-pathname-from-absolute-path.js6000644editdlrm
get-pathname-from-absolute-path.js.map11880644editdlrm
is-static-gen-enabled.js5340644editdlrm
is-static-gen-enabled.js.map11680644editdlrm
parsed-url-query-to-params.js4050644editdlrm
parsed-url-query-to-params.js.map9510644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/esm/server/route-modules/app-route/helpers/clean-url.js.map (682B)
{"version":3,"sources":["../../../../../src/server/route-modules/app-route/helpers/clean-url.ts"],"sourcesContent":["/**\n * Cleans a URL by stripping the protocol, host, and search params.\n *\n * @param urlString the url to clean\n * @returns the cleaned url\n */\n\nexport function cleanURL(url: string | URL): URL {\n const u = new URL(url)\n u.host = 'localhost:3000'\n u.search = ''\n u.protocol = 'http'\n return u\n}\n"],"names":["cleanURL","url","u","URL","host","search","protocol"],"mappings":"AAAA;;;;;CAKC,GAED,OAAO,SAASA,SAASC,GAAiB;IACxC,MAAMC,IAAI,IAAIC,IAAIF;IAClBC,EAAEE,IAAI,GAAG;IACTF,EAAEG,MAAM,GAAG;IACXH,EAAEI,QAAQ,GAAG;IACb,OAAOJ;AACT","ignoreList":[0]}