getServerSideURL() — supabase Function Reference
Architecture documentation for the getServerSideURL() function in getURL.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD a6675209_e47a_1f7f_804d_c05a892a7d10["getServerSideURL()"] 466ec51b_c26f_5548_0485_024323818d32["generateURL()"] 466ec51b_c26f_5548_0485_024323818d32 -->|calls| a6675209_e47a_1f7f_804d_c05a892a7d10 3ea31e92_a93d_8488_9226_87ddc26093ef["getImageURL()"] 3ea31e92_a93d_8488_9226_87ddc26093ef -->|calls| a6675209_e47a_1f7f_804d_c05a892a7d10 style a6675209_e47a_1f7f_804d_c05a892a7d10 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/cms/src/utilities/getURL.ts lines 3–15
export const getServerSideURL = () => {
let url = process.env.NEXT_PUBLIC_SERVER_URL
if (!url && process.env.VERCEL_PROJECT_PRODUCTION_URL) {
return `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`
}
if (!url) {
url = 'http://localhost:3030'
}
return url
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getServerSideURL() do?
getServerSideURL() is a function in the supabase codebase.
What calls getServerSideURL()?
getServerSideURL() is called by 2 function(s): generateURL, getImageURL.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free