Update map.js

changed apiUrl to the newly created proxy.php file to get rid of CORS problems.
This commit is contained in:
erikklavora 2025-10-05 14:19:37 +02:00 committed by GitHub
parent b578dbafd5
commit fec3fe2432
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
import { createApp, reactive, ref, computed, watch, onMounted, toRaw } from '../lib/vue.esm-browser.js';
import * as ntools from './node-utils.js';
const apiUrl = 'https://map.meshcore.dev/api/v1/nodes';
const apiUrl = './proxy.php';
const types = {
'1': 'Client',