mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-18 21:25:06 +01:00
Deleted file
This commit is contained in:
@@ -1,59 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
installation_status();
|
|
||||||
});
|
|
||||||
|
|
||||||
function httpget(url) {
|
|
||||||
return fetch(url, { method: "GET" })
|
|
||||||
.catch(err => {
|
|
||||||
console.log('HTTP GET Error: ' + err.message + ' :: STACK : ' + err.stack);
|
|
||||||
$("#result").text((JSON.stringify(err.message)));
|
|
||||||
return Promise.reject(err.message);
|
|
||||||
})
|
|
||||||
.then(res => {
|
|
||||||
if (!res.ok) {
|
|
||||||
return res.json().then(data => {
|
|
||||||
console.log('HTTP GET Error: ' + data.error.message);
|
|
||||||
$("#result").text(JSON.stringify(data.error.message));
|
|
||||||
return Promise.reject(data.error.message);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
return res.json();
|
|
||||||
})
|
|
||||||
.then(data => Promise.resolve(JSON.stringify(data)))
|
|
||||||
}
|
|
||||||
|
|
||||||
function installation_status() {
|
|
||||||
httpget("installation.json")
|
|
||||||
.then(result => {
|
|
||||||
$("#result").text(result);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="hello">
|
|
||||||
<h1>Hello World from Cyphernode!</h1>
|
|
||||||
<h2>If you are here, it means you successfully deployed Cyphernode. Congratulations, fellow Cyphernode Operator!</h2>
|
|
||||||
</div>
|
|
||||||
<hr/>
|
|
||||||
<div id="files">
|
|
||||||
<h2>The following files have been encrypted with your configuration passphrase and your client keys passphrase, respectively:</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href="config.7z">Download your Cyphernode <b>configurations</b>, can be used for another Cyphernode deployment</a></li>
|
|
||||||
<li><a href="client.7z">Download Client <b>API ID's and keys</b>, needed in your client apps</a></li>
|
|
||||||
<li><a href="/sparkwallet">Your Lightning Network Wallet (Spark Wallet)</a> <b>if LN installed during setup</b></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="Status">
|
|
||||||
<h2>This is the status of Cyphernode's installation and running components</h2>
|
|
||||||
<pre lang="xml" id="result" style="white-space: pre-wrap"></pre>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Reference in New Issue
Block a user