MCPcopy
hub / github.com/redwoodjs/graphql / getWebPort

Function getWebPort

packages/api-server/src/cliHelpers.ts:23–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23export function getWebPort() {
24 return process.env.REDWOOD_WEB_PORT
25 ? parseInt(process.env.REDWOOD_WEB_PORT)
26 : getConfig().web.port
27}

Callers 2

bothServerFileHandlerFunction · 0.90
handlerFunction · 0.90

Calls 1

getConfigFunction · 0.90

Tested by

no test coverage detected