Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
let intervalNow = Math.floor(Date.now() / 1000) - 1;
|
||||
setInterval(() => {
|
||||
const unixTimestampNow = Math.floor(Date.now() / 1000);
|
||||
let resp = fetch("http://localhost:3000/metrics?start=" + intervalNow + "&end=" + unixTimestampNow)
|
||||
let resp = fetch("https://iamvisual.prod.kjuulh.app/metrics?start=" + intervalNow + "&end=" + unixTimestampNow)
|
||||
.then((resp) => {
|
||||
if (resp.ok) {
|
||||
return resp.json()
|
||||
|
Reference in New Issue
Block a user