This commit is contained in:
Sublunar Space 2022-09-19 18:28:18 +02:00
parent 5be92fcf28
commit 28da27167b

View file

@ -169,7 +169,7 @@ SL.Calendar = (function() {
// checks if usecase is online, then uses server based calculation // checks if usecase is online, then uses server based calculation
} else { } else {
var url = "https://almanac.sublunar.space/pmom.php?days="+days+"&ts="+ts+"&lat="+lat+"&lon="+lon; var url = "https://almanac.sublunar.space/pmom.php?days="+days+"&ts="+ts+"&lat="+lat+"&lon="+lon;
fetch('pmom.json') fetch(url)
.then(function(response) { .then(function(response) {
return response.json(); return response.json();
}) })