From e8570dc4e412e6f9e0117d9b7a0578b9570aaebd Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Tue, 30 Mar 2021 12:08:21 +0200 Subject: [PATCH] Test msq as xml --- public/tunes/{202012.msq => 202012.xml} | 0 public/tunes/{202103.msq => 202103.xml} | 0 src/components/TopBar.tsx | 2 +- src/utils/api.ts | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename public/tunes/{202012.msq => 202012.xml} (100%) rename public/tunes/{202103.msq => 202103.xml} (100%) diff --git a/public/tunes/202012.msq b/public/tunes/202012.xml similarity index 100% rename from public/tunes/202012.msq rename to public/tunes/202012.xml diff --git a/public/tunes/202103.msq b/public/tunes/202103.xml similarity index 100% rename from public/tunes/202103.msq rename to public/tunes/202103.xml diff --git a/src/components/TopBar.tsx b/src/components/TopBar.tsx index 1ea8323..655cb24 100644 --- a/src/components/TopBar.tsx +++ b/src/components/TopBar.tsx @@ -87,7 +87,7 @@ const TopBar = () => { }> }> }> - + Download diff --git a/src/utils/api.ts b/src/utils/api.ts index 2aabae9..e5d43af 100644 --- a/src/utils/api.ts +++ b/src/utils/api.ts @@ -14,7 +14,7 @@ export const loadAll = async () => { const json: ConfigType = await fetch(`./tunes/${version}.json`) .then((response) => response.json()); - const tune = await fetch(`./tunes/${version}.msq`) + const tune = await fetch(`./tunes/${version}.xml`) .then((response) => response.text()); const xml = (new DOMParser()).parseFromString(tune, 'text/xml');