You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can use something like trumpet to inject config into the page. This would allow us to avoid compiling the application with the environment baked-in, for greater portability and to mitigate risk of non-matching config when deploying alongside other hapi plugins. For example, if an API and front-end both rely on API_PREFIX then currently the value set at front-end compile-time needs to match the value set for API deploy-time.
The text was updated successfully, but these errors were encountered:
We can use something like trumpet to inject config into the page. This would allow us to avoid compiling the application with the environment baked-in, for greater portability and to mitigate risk of non-matching config when deploying alongside other hapi plugins. For example, if an API and front-end both rely on
API_PREFIX
then currently the value set at front-end compile-time needs to match the value set for API deploy-time.The text was updated successfully, but these errors were encountered: