gns3-web-ui/src/app/services/updates.service.ts

12 lines
278 B
TypeScript
Raw Normal View History

2020-10-16 22:25:01 +00:00
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
@Injectable()
export class UpdatesService {
constructor(private httpClient: HttpClient) {}
getLatestVersion() {
return this.httpClient.get('http://update.gns3.net/');
}
}