mirror of
https://github.com/harish2704/ipv6-global-ip-demo.git
synced 2026-09-10 07:11:08 +00:00
* Refactoring and documentation
This commit is contained in:
+1
-2
@@ -46,8 +46,7 @@ var app = new Vue({
|
||||
this.ips = res.ips;
|
||||
})
|
||||
.catch( res =>{
|
||||
console.log( res );
|
||||
// alert( res.error )
|
||||
alert( res.error )
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
+9
-1
@@ -5,11 +5,19 @@
|
||||
<title>IPV6 global ip test</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>What is this?</h2>
|
||||
<pre>
|
||||
* List of public IPv6 IP assigned to the currently running server is shown below.
|
||||
* We can click on each link and verify whether that IP is globally accessible or not by visiting the link
|
||||
* Optionally, we can add new public IPv6 address using the form displayed in the bottom.
|
||||
* Newly added IP will only persist for one minute. It will be removed after that.
|
||||
* Please note that, we are only allowed change last 64 bits of existing global ip. Otherwise it won't work
|
||||
</pre>
|
||||
<div id="app">
|
||||
<h3>List of global IPv6 address assigned to this server</h3>
|
||||
<ul id="cont-ip-list">
|
||||
<li v-for="ip in ips">
|
||||
<a :href="'http://[' + ip + ']:3553'">
|
||||
<a target="_blank" :href="'http://[' + ip + ']:3553'">
|
||||
{{ ip }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user