/opt/canhelp/node_modules/next/dist/server/route-modules/app-route/helpers
NameSizeModeActions
auto-implement-methods.d.ts2380644editdlrm
auto-implement-methods.js34050644editdlrm
auto-implement-methods.js.map47450644editdlrm
clean-url.d.ts2020644editdlrm
clean-url.js5310644editdlrm
clean-url.js.map6970644editdlrm
get-pathname-from-absolute-path.d.ts1960644editdlrm
get-pathname-from-absolute-path.js8360644editdlrm
get-pathname-from-absolute-path.js.map12030644editdlrm
is-static-gen-enabled.d.ts1590644editdlrm
is-static-gen-enabled.js5130644editdlrm
is-static-gen-enabled.js.map10940644editdlrm
parsed-url-query-to-params.d.ts2730644editdlrm
parsed-url-query-to-params.js5150644editdlrm
parsed-url-query-to-params.js.map9540644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/server/route-modules/app-route/helpers/clean-url.js (531B)
/** * Cleans a URL by stripping the protocol, host, and search params. * * @param urlString the url to clean * @returns the cleaned url */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "cleanURL", { enumerable: true, get: function() { return cleanURL; } }); function cleanURL(url) { const u = new URL(url); u.host = 'localhost:3000'; u.search = ''; u.protocol = 'http'; return u; } //# sourceMappingURL=clean-url.js.map