algolia
algolia copied to clipboard
Rename env vars to NUXT_PUBLIC_*
Currently the env vars are defined as:
ALGOLIA_API_KEY=""
ALGOLIA_APPLICATION_ID=""
- This is in contrast to all other variables that start with
NUXT_orNUXT_PUBLIC_, e.g.NUXT_SITE_ENVfrom nuxtjs/seo andNUXT_PUBLIC_I18N_BASE_URLfrom @nuxtjs/i18n - They get removed in environments like Turbo Repo, if not prefixed with
NUXT_and not whitelisted - They dont show that they get exposed to the public which is crucial if one might use a key that can edit and delete
Therefor I would suggest to rename them to:
ALGOLIA_API_KEY=""
ALGOLIA_APPLICATION_ID=""