How to set METEOR_SETTINGS in Heroku in a Dropbox synced app?

时间:2016-06-18 20:06:17

标签: meteor heroku

My meteor app is being deployed to Heroku via dropbox sync.

I tried setting the METEOR_SETTINGS variable via the dashboard (under Config Vars) to "$(cat settings.json)" but that doesn't seem to work.

What is the correct way to set METEOR_SETTINGS in these circumstances?

1 个答案:

答案 0 :(得分:0)

解决方案是将settings.json文件的ENTIRE内容复制到Heroku中的“METEOR_SETTINGS”配置变量中。

{"public": {"env": "Production"," etc....