hotfix: change path

This commit is contained in:
Azgaar 2022-02-06 02:36:04 +03:00
parent f04f8d7d1c
commit 040244a186

View file

@ -47,7 +47,7 @@ async function getStylePreset(desiredPreset) {
}
async function fetchSystemPreset(preset) {
const style = await fetch(`/styles/${preset}.json`)
const style = await fetch(`../../styles/${preset}.json`)
.then(res => res.json())
.catch(err => {
ERROR && console.error("Error on loading style preset", preset, err);