wxp20032003

Results 6 comments of wxp20032003

我和你报的一样的错!都是87行,哪位大神解答下! 我是手机端的react-native version 0.60 react-native-code-push 6.0.0

> ![image](https://user-images.githubusercontent.com/28652894/81264466-06a05b80-9074-11ea-9e01-83d018941eff.png) > > 修改local对象的下载地址为本机(或服务器的ip地址) 这个配置文件在哪里?

> > > ![image](https://user-images.githubusercontent.com/28652894/81264466-06a05b80-9074-11ea-9e01-83d018941eff.png) > > > 修改local对象的下载地址为本机(或服务器的ip地址) > > > 这个配置文件在哪里? > > ![image](https://user-images.githubusercontent.com/28652894/85979407-03da3b00-ba13-11ea-897d-837f680db19f.png) > > ```js > cd config && vim config.js > ``` 谢谢还是不行,服务链接上了,但是报这个错,大神能不能帮忙看看 ![image](https://user-images.githubusercontent.com/13210205/86000966-d1473700-ba40-11ea-832b-bcc2ddb5969a.png)

storageDir: '/opt/code-push-server-master/codePushVersion', 下载地址我的外网域名是https的,但是外网的下载链接地址(ip地址)是http的,我把下载地址改成域名的试下,谢谢了! > @wxp20032003 如果有绑定域名,则下载地址为域名,如果没有绑定域名,就是服务器外网IP,默认dataDir一定也要修改。

> @wxp20032003 如果有绑定域名,则下载地址为域名,如果没有绑定域名,就是服务器外网IP,默认dataDir一定也要修改。 Possible Unhandled Promise Rejection (id: 0): Error: 404: Not Found404NotFoundError: Not Found at /opt/code-push-server-master/app.js:87:15 不行还是没有找到

> @wxp20032003 看下日志,报什么错 ![86000966-d1473700-ba40-11ea-832b-bcc2ddb5969a](https://user-images.githubusercontent.com/13210205/86039174-b0162480-ba07-11ea-91cc-599087ce8258.jpg) 还是这个错!