Test msq as xml

This commit is contained in:
Piotr Rogowski 2021-03-30 12:08:21 +02:00
parent 5a81764aa5
commit e8570dc4e4
No known key found for this signature in database
GPG Key ID: F40F61D5587F5673
4 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ const TopBar = () => {
<SubMenu title="Download" icon={<CloudDownloadOutlined />}>
<SubMenu title="Tune" icon={<SlidersOutlined />}>
<Menu.Item icon={<SaveOutlined />}>
<a href="/tunes/202103.msq" target="__blank" rel="noopener noreferrer">
<a href="/tunes/202103.xml" target="__blank" rel="noopener noreferrer">
Download
</a>
</Menu.Item>

View File

@ -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');