javascript - Image not loading properly
天蓬老师
天蓬老师 2017-06-05 11:13:06
0
1
528

First of all, Xiaocai (myself) built a local server using Node.js
Use http://localhost:3000/index.html to access the written html page,
But the lines used in the web page The above pictures cannot be loaded normally, I am begging for a solution.

The phenomenon is as follows,
html uses an online absolute address
<img src="http://file.xitie.net.cn/91_4... class="on">

http://localhost:3000/index.html Visit

It is normal again under open in new tab.

Find the reason and found that the remote address of the localhost pull-down picture and the address opened in the new window are different
Remote Address:183.134.9.58:80

Please advise

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!