/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 (333B)
/** * Cleans a URL by stripping the protocol, host, and search params. * * @param urlString the url to clean * @returns the cleaned url */ export function cleanURL(url) { const u = new URL(url); u.host = 'localhost:3000'; u.search = ''; u.protocol = 'http'; return u; } //# sourceMappingURL=clean-url.js.map