MCPcopy Create free account
hub / github.com/coder/mux / getResponsePublicBasePath

Function getResponsePublicBasePath

src/node/orpc/server.ts:562–565  ·  view source on GitHub ↗
(res: express.Response)

Source from the content-addressed store, hash-verified

560}
561
562function getResponsePublicBasePath(res: express.Response): string | null {
563 const publicBasePath = (res.locals as PublicBasePathLocals).publicBasePath;
564 return typeof publicBasePath === "string" ? publicBasePath : null;
565}
566
567function getPublicBasePathForRequest(
568 req: express.Request,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected