MCPcopy Index your code
hub / github.com/parse-community/parse-server / parseURL

Function parseURL

src/batch.js:13–19  ·  view source on GitHub ↗
(urlString)

Source from the content-addressed store, hash-verified

11}
12
13function parseURL(urlString) {
14 try {
15 return new URL(urlString);
16 } catch {
17 return undefined;
18 }
19}
20
21function makeBatchRoutingPathFunction(originalUrl, serverURL, publicServerURL) {
22 serverURL = serverURL ? parseURL(serverURL) : undefined;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected