EnAccess / micropowermanager

Management Tool for Decentralized Utilities.
https://micropowermanager.com/
MIT License
0 stars 0 forks source link

SparkMeter plugin does not work locally #129

Open dmohns opened 2 days ago

dmohns commented 2 days ago

When running a local development environment navigating to SparkMeter throws a bunch of errors.

In fact

http GET "http://localhost:8001/api/spark-meters/sm-tariff?page=1&per_page=15"

yields

HTTP/1.1 404 Not Found
Connection: keep-alive
Content-Length: 165
Content-Security-Policy: default-src 'none'
Content-Type: text/html; charset=utf-8
Date: Mon, 01 Jul 2024 10:31:18 GMT
Keep-Alive: timeout=5
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Powered-By: Express

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /api/spark-meters/sm-tariff</pre>
</body>
</html>