fix: replace hardcoded paths for satellite

This commit is contained in:
Anna Vítová 2025-06-18 12:49:49 +02:00 committed by Klara Simickova
parent a4ac280350
commit 235d853f42
2 changed files with 3 additions and 3 deletions

View file

@ -477,7 +477,7 @@ const getImageRequests = (state: RootState): ImageRequest[] => {
const getSatelliteCommand = (files?: File[]): string => {
const satelliteCommandFile = files?.find(
(file) => file.path === '/usr/local/sbin/register-satellite'
(file) => file.path === SATELLITE_PATH
);
return satelliteCommandFile?.data ? atob(satelliteCommandFile.data) : '';
};