From 040244a1865b82878187724b0ed8a21a7935e757 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 6 Feb 2022 02:36:04 +0300 Subject: [PATCH] hotfix: change path --- modules/ui/stylePresets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/stylePresets.js b/modules/ui/stylePresets.js index 96e5aa0b..0b193232 100644 --- a/modules/ui/stylePresets.js +++ b/modules/ui/stylePresets.js @@ -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);