This commit is contained in:
2017-04-10 13:05:45 +02:00
parent 32594d4626
commit 4df886c81d
4 changed files with 6 additions and 6 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -25,8 +25,8 @@ var DataService = (function () {
function DataService(http) {
this.http = http;
this.getUrl = '/webapi/data';
this.usageUrl = 'webapi/usage';
this.nameUrl = 'webapi/name';
this.usageUrl = '/webapi/usage';
this.nameUrl = '/webapi/name';
this.deviceUrl = '/webapi/device';
}
DataService.prototype.get = function (id) {
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -13,8 +13,8 @@ import { Usage } from './usage';
@Injectable()
export class DataService {
private getUrl: string = '/webapi/data';
private usageUrl: string = 'webapi/usage';
private nameUrl: string = 'webapi/name';
private usageUrl: string = '/webapi/usage';
private nameUrl: string = '/webapi/name';
private deviceUrl: string = '/webapi/device';
constructor(private http : Http){}