web / lib/utils/base-url
lib/utils/base-url
Returns the application base URL from environment.
Functions
getBaseUrl()
getBaseUrl():
string
Get the application base URL from NEXT_PUBLIC_PAYLOAD_URL.
Falls back to http://localhost:3000 in development.
Returns
string
Last updated on