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 () {
|
||||
function DataService(http) {
|
||||
this.http = http;
|
||||
this.dashboardURL = '/webapi/dashboard';
|
||||
this.dashboardURL = '/webapi/data';
|
||||
}
|
||||
DataService.prototype.dashboard = function () {
|
||||
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(
|
||||
'SELECT TOE1`, time FROM measurement ORDER BY time DESC LIMIT 0,10',
|
||||
|
||||
@@ -9,7 +9,7 @@ import { LabelData } from './label-data';
|
||||
|
||||
@Injectable()
|
||||
export class DataService {
|
||||
private dashboardURL: string = '/webapi/dashboard';
|
||||
private dashboardURL: string = '/webapi/data';
|
||||
|
||||
constructor(private http : Http){}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user