MCPcopy Create free account
hub / github.com/api-platform/website / getRootUrl

Function getRootUrl

pwa/utils/index.tsx:64–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62};
63
64export const getRootUrl = () => {
65 return "https://api-platform.com";
66 /*if (!process.env.NEXT_ROOT_URL) return "https://api-platform.com";
67 return process.env.NEXT_ROOT_URL?.startsWith("http")
68 ? process.env.NEXT_ROOT_URL
69 : `https://${process.env.NEXT_ROOT_URL}`;*/
70};
71
72export const slugify = (t: string) =>
73 t

Callers 15

getEditionEventDataFunction · 0.90
sitemap.tsFile · 0.90
generateMetadataFunction · 0.90
generateMetadataFunction · 0.90
generateMetadataFunction · 0.90
generateMetadataFunction · 0.90
PageFunction · 0.90
generateMetadataFunction · 0.90
generateMetadataFunction · 0.90
generateMetadataFunction · 0.90
generateMetadataFunction · 0.90
generateMetadataFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected