fix: Dynamische Link nach Host für Alarm Icon
This commit is contained in:
@@ -172,7 +172,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => {
|
||||
staticObj.Link.startsWith("http://") || staticObj.Link.startsWith("https://");
|
||||
alarmLink = isAbsolute
|
||||
? staticObj.Link
|
||||
: `${window.location.origin}/talas5/devices/${staticObj.Link}`;
|
||||
: `http://${window.location.hostname}/talas5/devices/${staticObj.Link}`;
|
||||
// : `http://10.10.0.13/talas5/devices/${staticObj.Link}`;
|
||||
found = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user