MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / getPushUrlSSR

Function getPushUrlSSR

packages/utilities/src/domain.ts:99–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99export function getPushUrlSSR() {
100 if (!!process.env.VERCEL_GIT_COMMIT_REF) {
101 return `https://push.${process.env.VERCEL_GIT_COMMIT_REF}.linendev.com`;
102 }
103 if (!!process.env.PUSH_SERVICE_URL) {
104 return process.env.PUSH_SERVICE_URL;
105 }
106 return `http://localhost:${process.env.PUSH_PORT || 4000}`;
107}

Callers 5

pushFunction · 0.90
pushChannelFunction · 0.90
pushUserFunction · 0.90
pushUserMentionFunction · 0.90
pushCommunityFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected