You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-27 06:23:53 +01:00
hotfix for https url
This commit is contained in:
@@ -77,9 +77,11 @@ async function fetchTx(freq, piCode, rdsPs) {
|
||||
return processData(cachedData[freq], piCode, rdsPs);
|
||||
}
|
||||
|
||||
const url = "https://maps.fmdx.org/api?freq=" + freq;
|
||||
const url = "https://maps.fmdx.org/api/?freq=" + freq;
|
||||
|
||||
return fetch(url)
|
||||
return fetch(url, {
|
||||
redirect: 'manual'
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(async (data) => {
|
||||
cachedData[freq] = data;
|
||||
|
||||
Reference in New Issue
Block a user