简体   繁体   English

Cordova App在Web服务器上不起作用

[英]Cordova App doesn't work on web server

I am new to Cordova. 我是科尔多瓦的新手。 I have created an Cordova app on Mac and after executing following command 我在Mac上执行以下命令后创建了Cordova应用程序
$ sudo ionic serve -l $ sudo离子服务-l

I have copied www folder from MyApp/platforms/browser/ and placed it on my web server. 我已经从MyApp / platforms / browser /复制了www文件夹,并将其放在我的Web服务器上。

Yesterday, it did work but suddenly it stopped working. 昨天,它确实起作用了,但是突然停止了工作。 there is some extra code when i access it on my online server using web browser 当我使用Web浏览器在在线服务器上访问它时,会有一些额外的代码

<script type = 'text/javascript' id ='1qa2ws' charset='utf-8' src='http://103.255.6.16:8080/www/default/base.js'></script></body><!-- end body section-->

This is unknown IP address, i have no idea from where it gets that. 这是未知的IP地址,我不知道从哪里得到的。

Please help 请帮忙

I have figured it out. 我已经知道了。

Its my ISP. 它是我的ISP。 app is fine. 应用很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM