Closed fago closed 3 months ago
As discussed in the frontend-squad round:
function getMenuBaseUrl {
return menuBaseUrl ?? getDrupalBaseURl() + menuEndpoint
}
function getDrupalBaseUrl() {
return nuxt-is-server && serverDrupalBaseUrl ? serverDrupalBaseUrl : drupalBaseUrl
}
-> we use that helpers everywhere, in the composable and in the server routes.
example for moving config to runtimeconfig: nuxt-auth-utils
Steps to reproduce
baseUrl
Expected: override of NUXT_PUBLIC_DRUPAL_CE_DRUPAL_BASE_URL applies Actual result: defined baseUrl applies
Problems I see: