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?
答案 0 :(得分:0)
解决方案是将settings.json文件的ENTIRE内容复制到Heroku中的“METEOR_SETTINGS”配置变量中。
{"public": {"env": "Production"," etc....