Commit 74562772 authored by SteffTek's avatar SteffTek

Update ramUsageGB.js

parent 7ee54aa9
......@@ -41,7 +41,7 @@ var ramChart = new Chart(ctx, {
});
setInterval(function(){
$.get("https://dev.stefftek.de/backend/ramUsageGB.php", function( text_var ) {
$.get("./backend/ramUsageGB.php", function( text_var ) {
var use = parseFloat(text_var.split("/")[0]).toFixed(2);
var free = parseFloat(text_var.split("/")[1]) - use;
free = free.toFixed(2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment