Hi,

I'm trying to set algolia keys from the .env file and it doesn't work.

this is my .env file content

ALGOLIA_API_KEY=XXXXXX
ALGOLIA_APP_ID=XXXXX

this is from the search.yaml

algolia_api_key: '{env‌:ALGOLIA_API_KEY}'
algolia_app_id: '{env‌:ALGOLIA_APP_ID}'

It is like Statamic v2 reads the yaml vars like a string, and not the value from the .env file

Answered by Luis Güette! Go to answer.