Viele Updates, Version angepasst
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user