I'm taking over a website. The previous developer decided to use cube.dev to build the KPI page. But I have no knowledge on it.
He showed me once the KPI page worked. But now, when I launch it on my side (https://jsaddin.10studio.tech/kpi), there is an error: GET http://localhost:4000/cubejs-api/v1/load?query=%7B%22measures%22%3A%5B%22Customs.count%22%5D%2C%22dimensions%22%3A%5B%22Customs.offerdisplayname%22%5D%2C%22timeDimensions%22%3A%5B%7B%22dimension%22%3A%22Customs.timestamp%22%2C%22dateRange%22%3A%22this+week%22%2C%22granularity%22%3A%22day%22%7D%5D%7D net::ERR_CONNECTION_REFUSED
I also see in his code:
const cubejsApi = cubejs(
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1NzE0OTIxNzYsI...',
{ apiUrl: 'http://localhost:4000/cubejs-api/v1' },
);
I cannot reach the developer anymore. Does anyone know what may the reason of the problem?