Viele Updates, Version angepasst

This commit is contained in:
2023-11-12 11:26:15 +00:00
parent 5dc66dbaa2
commit a79f6add1a
14 changed files with 127 additions and 25 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ export const noise_ymin = 30; // lowest value on y-axis for n
export const noise_ymax = 120; // highest value on y-axis for noise
export let peaklim = 70; // threshold for peak count
export const url = '/api'
export const url = '/srv'
export function createGlobObtions() {
// Options, die für alle Plots identisch sind
@@ -217,7 +217,7 @@ export const fetchfromserver = async (url) => {
}
export const addAddress = async (sid) => {
let url = `/api/getaddress?sensorid=${sid}`
let url = `/srv/getaddress?sensorid=${sid}`
let erg = await fetchfromserver(url)
if (!erg.err) {
return erg.address