api-platform-heroku icon indicating copy to clipboard operation
api-platform-heroku copied to clipboard

app.json env vars are not available to SF

Open brunoreis opened this issue 7 years ago • 2 comments

(edited)

app.json env vars are not available to SF

brunoreis avatar Jan 05 '18 01:01 brunoreis

Well, I see it's on app.json, but for some reason it was not loaded. Now it's complaining about "secret"

brunoreis avatar Jan 05 '18 01:01 brunoreis

It worked for me using the app.json and changing the config.yml to:

secret: '%env(SYMFONY__SECRET)%'

Maybe you did it too, but it's not in the docs.

brunoreis avatar Jan 05 '18 01:01 brunoreis