-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always auto redirect to localhost in development #9
Comments
@afc163 跳转路径是通过配置文件确定的 |
看了下有很多, |
建议在default config下搞一个通用域名变量配置,如果合适,可以提交一个pr |
配置固定域名是因为应用中有内部 http 请求的地方,比如从 api 请求 account。欢迎 PR |
这个问题我也遇到了,把-talk-os部署到服务器后,在本地访问服务器IP然后就自动重定向到localhost的domain,致使无法正常访问。 |
@sailxjx ip已改成服务器地址,奇怪的是 node版本 v4.2.6 |
@sailxjx 在config底下的文件都改成ip了,还是不能访问。服务器端不报错,客户端console显示的vendor的地址还是localhost。 |
本地路径使用 ip 进行访问时:http://{ip}:7001/
会自动跳转到 http://localhost:7001/ 导致无法分享链接。
The text was updated successfully, but these errors were encountered: