mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-08-15 08:57:31 +00:00
Fix missing headers in SSE queries
This commit is contained in:
+3
-2
@@ -6,9 +6,10 @@ let lastUpdateTime;
|
||||
// Storage for the alert data that the server gives us.
|
||||
let alerts = [];
|
||||
|
||||
// Load alerts and populate the table.
|
||||
// Load alerts and populate the table. No need for QRZ/HamQTH credential headers as these won't add any useful data
|
||||
// to alerts
|
||||
function loadAlerts() {
|
||||
$.ajax({url: '/api/v2/alerts' + buildQueryString(), dataType: 'json', headers: getCredentialHeaders(), success: function (jsonData) {
|
||||
$.ajax({url: '/api/v2/alerts' + buildQueryString(), dataType: 'json', success: function (jsonData) {
|
||||
// Store last updated time
|
||||
lastUpdateTime = moment.utc();
|
||||
updateRefreshDisplay();
|
||||
|
||||
Reference in New Issue
Block a user