Switch MQTT to TLS, fix last_heard fallback, downgrade CDN to HTTP
This commit is contained in:
+3
-3
@@ -701,7 +701,7 @@ function displayNodes(nodes) {
|
||||
</div>
|
||||
<div style="display: flex; gap: 8px; align-items: center;">
|
||||
${node.latitude && node.longitude ? `
|
||||
<a href="https://www.openstreetmap.org/?mlat=${node.latitude}&mlon=${node.longitude}&zoom=11"
|
||||
<a href="http://www.openstreetmap.org/?mlat=${node.latitude}&mlon=${node.longitude}&zoom=11"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
onclick="event.stopPropagation()"
|
||||
@@ -779,7 +779,7 @@ window.showNodeDetail = async function(nodeId) {
|
||||
<span class="detail-label">Location</span>
|
||||
<span class="detail-value">
|
||||
${node.latitude.toFixed(6)}, ${node.longitude.toFixed(6)}
|
||||
<a href="https://www.openstreetmap.org/?mlat=${node.latitude}&mlon=${node.longitude}&zoom=11"
|
||||
<a href="http://www.openstreetmap.org/?mlat=${node.latitude}&mlon=${node.longitude}&zoom=11"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
style="background: #4CAF50; color: white; padding: 4px 8px; border-radius: 4px; text-decoration: none; font-size: 14px; line-height: 1; margin-left: 8px; display: inline-block;">🌍</a>
|
||||
@@ -948,7 +948,7 @@ function displayPositions(positions) {
|
||||
<a href="#"
|
||||
onclick="event.preventDefault(); window.showNodeDetail('${pos.node_id}'); return false;"
|
||||
style="background: #2196F3; color: white; padding: 4px 12px; border-radius: 4px; text-decoration: none; font-size: 14px; line-height: 1; flex: 1; text-align: center;">View Details</a>
|
||||
<a href="https://www.openstreetmap.org/?mlat=${pos.latitude}&mlon=${pos.longitude}&zoom=11"
|
||||
<a href="http://www.openstreetmap.org/?mlat=${pos.latitude}&mlon=${pos.longitude}&zoom=11"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
style="background: #4CAF50; color: white; padding: 4px 8px; border-radius: 4px; text-decoration: none; font-size: 16px; line-height: 1;">🌍</a>
|
||||
|
||||
Reference in New Issue
Block a user