Updated link to a host where radio is hosted.

This commit is contained in:
Alexander Andreev 2021-07-11 01:44:43 +04:00
parent c03fef26be
commit d851964cce
Signed by: Arav
GPG Key ID: 610DF2574456329F

View File

@ -11,7 +11,7 @@ const util = require("../shared/util");
async function getRadioStatus() { async function getRadioStatus() {
try { try {
let status = await fetch('http://radio.home/status-json.xsl').then(r => r.json()); let status = await fetch('http://radio.arav.home/status-json.xsl').then(r => r.json());
return { return {
server_start_iso8601: status.icestats.server_start_iso8601, server_start_iso8601: status.icestats.server_start_iso8601,
server_start_date: util.datetime(status.icestats.server_start_iso8601, util.post_date_format), server_start_date: util.datetime(status.icestats.server_start_iso8601, util.post_date_format),