Attempt bugfix
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -56,7 +56,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|||||||
var DataService = (function () {
|
var DataService = (function () {
|
||||||
function DataService(http) {
|
function DataService(http) {
|
||||||
this.http = http;
|
this.http = http;
|
||||||
this.dashboardURL = '/webapi/dashboard';
|
this.dashboardURL = '/webapi/data';
|
||||||
}
|
}
|
||||||
DataService.prototype.dashboard = function () {
|
DataService.prototype.dashboard = function () {
|
||||||
var lineChartData$ =
|
var lineChartData$ =
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -51,7 +51,7 @@ router.get('/', function(req, res) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
router.get('/dashboard', function(req, res) {
|
router.get('/data', function(req, res) {
|
||||||
|
|
||||||
connection.query(
|
connection.query(
|
||||||
'SELECT TOE1`, time FROM measurement ORDER BY time DESC LIMIT 0,10',
|
'SELECT TOE1`, time FROM measurement ORDER BY time DESC LIMIT 0,10',
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { LabelData } from './label-data';
|
|||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class DataService {
|
export class DataService {
|
||||||
private dashboardURL: string = '/webapi/dashboard';
|
private dashboardURL: string = '/webapi/data';
|
||||||
|
|
||||||
constructor(private http : Http){}
|
constructor(private http : Http){}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user