fix: Change port to 8080 to avoid address in use error
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
|
||||
<script>
|
||||
function fetchStats() {
|
||||
fetch('http://localhost:8000/stats')
|
||||
fetch('http://localhost:8080/stats')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
document.getElementById('cpu-usage').textContent = `${data.cpu_percent}%`;
|
||||
|
||||
Reference in New Issue
Block a user