mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
hotfix: change path
This commit is contained in:
parent
f04f8d7d1c
commit
040244a186
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue