Update README and Links
This commit is contained in:
parent
6ed6445188
commit
458f6dfca4
2 changed files with 4 additions and 2 deletions
|
@ -11,7 +11,7 @@ You will need to have a domain name for the site and current certificates tied t
|
||||||
**key.pem** and **cert.pem**
|
**key.pem** and **cert.pem**
|
||||||
in the same directory as index.js. I suggest using (Certbot)[https://certbot.eff.org/] to obtain free signed certificates that all major browsers recognize
|
in the same directory as index.js. I suggest using (Certbot)[https://certbot.eff.org/] to obtain free signed certificates that all major browsers recognize
|
||||||
as legitimate. I typically run Apache2 or another webserver to allow Certbot to authenticate the site to create the certificates. The certificates will
|
as legitimate. I typically run Apache2 or another webserver to allow Certbot to authenticate the site to create the certificates. The certificates will
|
||||||
typically reside in /etc/live/**your domain name** and I simply soft link (ls -s) them from the dsgwdashboard directory. You can disable the webserver,
|
typically reside in /etc/live/**your domain name** and I simply soft link (ln -s) them from the dsgwdashboard directory. You can disable the webserver,
|
||||||
such as Apache2 or NGNIX once you have the certificates.
|
such as Apache2 or NGNIX once you have the certificates.
|
||||||
|
|
||||||
Before starting up the dsgwdashboard you will want to have DStarGateway running, to prepopulate the log files. Your first task
|
Before starting up the dsgwdashboard you will want to have DStarGateway running, to prepopulate the log files. Your first task
|
||||||
|
|
|
@ -33,7 +33,9 @@ socket.addEventListener("links", data => {
|
||||||
$("#linktable").append("<tr><th>Repeater</th><th>Reflector</th><th>Protocol</th>" +
|
$("#linktable").append("<tr><th>Repeater</th><th>Reflector</th><th>Protocol</th>" +
|
||||||
"<th>Device</th><th>Direction</th><th>Timestamp</th></tr>");
|
"<th>Device</th><th>Direction</th><th>Timestamp</th></tr>");
|
||||||
$.each(data, function(index,val){
|
$.each(data, function(index,val){
|
||||||
$("#linktable").append("<tr><td>" + val.repeater + "</td><td>" + val.reflector +
|
var reflector = val.reflector.substring(0,7).trim();
|
||||||
|
if (reflector.substring(0,3) == "REF") reflector = "<a href=\"http://" + reflector + ".dstargateway.org\" target=\"reflector\">" + val.reflector + "</a>";
|
||||||
|
$("#linktable").append("<tr><td>" + val.repeater + "</td><td>" + reflector +
|
||||||
"</td><td>" + val.protocol + "</td><td>" + val.device + "</td><td>" +
|
"</td><td>" + val.protocol + "</td><td>" + val.device + "</td><td>" +
|
||||||
val.direction + "</td><td>" + val.timestamp + "</td></tr>");
|
val.direction + "</td><td>" + val.timestamp + "</td></tr>");
|
||||||
// console.log(index, val);
|
// console.log(index, val);
|
||||||
|
|
Loading…
Add table
Reference in a new issue