mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-12-25 07:34:07 +01:00
Fix path in async request
This commit is contained in:
parent
399dfad357
commit
4bfd98f1be
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ init();
|
||||||
|
|
||||||
async function init(){
|
async function init(){
|
||||||
|
|
||||||
let resp = await fetch("/web/atlas.json");
|
let resp = await fetch("/atlas.json");
|
||||||
atlas = await resp.json();
|
atlas = await resp.json();
|
||||||
atlas.sort(function (a, b) {
|
atlas.sort(function (a, b) {
|
||||||
if (a.center[1] < b.center[1]) {
|
if (a.center[1] < b.center[1]) {
|
||||||
|
|
Loading…
Reference in a new issue