Add code in the index.html:
<script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>
Output interface to the other:
console.log(returnCitySN["cip"])
You can print out the location of the public network ip
Add code in the index.html:
<script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>
Output interface to the other:
console.log(returnCitySN["cip"])
You can print out the location of the public network ip