我创建了一个使用twitter认证的Meteor应用程序。twitter设置在本地linux机器上运行时运行良好,但在c9.io上运行时不工作。twitter登录弹出重定向到http://0.0.0.0:8080/_oauth/twitter/?requestTokenAndRedirect=true&state=eyJs...,由此产生的错误如下:
The webpage at http://0.0.0.0:8080/_oauth/twitter/
requestTokenAndRedirect=true&state=eyJsb2dpbl...IjpmYWxzZX0=
might be temporarily down or it may have moved permanently to
a new web address有办法在c9.io?上工作吗?
发布于 2015-11-23 17:49:38
您需要设置ROOT_URL。
尝试使用以下命令在c9上运行流星服务器:
ROOT_URL=https://your-app.c9.io meteor --port $IP:$PORT --settings settings.jsonhttps://stackoverflow.com/questions/33875226
复制相似问题