diff --git a/frontend-modern/src/components/Dashboard/IOMetric.tsx b/frontend-modern/src/components/Dashboard/IOMetric.tsx index cf9511133..e65329230 100644 --- a/frontend-modern/src/components/Dashboard/IOMetric.tsx +++ b/frontend-modern/src/components/Dashboard/IOMetric.tsx @@ -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); } }); diff --git a/rebuild.sh b/rebuild.sh index 96f4a52be..e2e44afb4 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -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!" \ No newline at end of file +echo "Done!" +echo "Access Pulse at: http://localhost:7655" \ No newline at end of file