fixed a couple little things that broke

merge-requests/160/head
Matthew Chambers 2022-02-05 12:08:25 -06:00
rodzic ccc3a29f42
commit 3712dbb5b9
3 zmienionych plików z 6 dodań i 5 usunięć

Wyświetl plik

@ -48,8 +48,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<script src="./lib/callsigns.js" type="text/javascript"></script>
<script src="./lib/shadow.js" type="text/javascript"></script>
<script src="./lib/gtws.js" type="text/javascript"></script>
<script src="./lib/pota.js" type="text/javascript"></script>
<script src="./lib/gt.js" type="text/javascript"></script>
<script src="./lib/screens.js"></script>
<script src="./lib/screens.js" type="text/javascript"></script>
</head>
<body id="mainBody" onload="initialDatabases();">
<div id="startupDiv">

Wyświetl plik

@ -12782,7 +12782,7 @@ function getBuffer(file_url, callback, flag, mode, port, cache = null)
port: port,
followAllRedirects: true,
path: url.parse(file_url).path, // eslint-disable-line node/no-deprecated-api
headers: { "User-Agent": gtVersionString, Referer: "https://gridtracker.org" }
headers: { "User-Agent": gtVersionString }
};
http.get(options, function (res)

Wyświetl plik

@ -11,7 +11,7 @@ function g_getPotaPlaces()
// we need to see if ever run and update 1x a week
}
function g_ingestPotaSpots()
function g_ingestPotaSpots(buffer)
{
try
{
@ -31,8 +31,8 @@ function g_getPotaSpots()
"https://api.pota.app/spot/activator",
g_ingestPotaSpots,
null,
"http",
80
"https",
443
);
setTimeout(g_getPotaSpots, 300000);