chore: remove debug console.log from IOMetric component

This commit is contained in:
Pulse Monitor
2025-08-29 07:23:36 +00:00
parent 82a38713ce
commit da017f5ab4
2 changed files with 5 additions and 2 deletions
@@ -21,7 +21,6 @@ export function IOMetric(props: IOMetricProps) {
const newValue = getValue() || 0;
const oldValue = currentValue();
if (newValue !== oldValue) {
console.log('[IOMetric] Value change detected:', oldValue, '->', newValue, formatSpeed(newValue, 0));
setCurrentValue(newValue);
}
});
+5 -1
View File
@@ -4,10 +4,14 @@
echo "Building frontend..."
cd /opt/pulse/frontend-modern && npm run build
echo "Copying frontend to embed location..."
cp -r /opt/pulse/frontend-modern/dist /opt/pulse/internal/api/frontend-modern/
echo "Building Go binary..."
cd /opt/pulse && go build -o pulse ./cmd/pulse
echo "Restarting service..."
sudo systemctl restart pulse-backend
echo "Done!"
echo "Done!"
echo "Access Pulse at: http://localhost:7655"