bugfix
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -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) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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){}
|
||||
|
||||
Reference in New Issue
Block a user