gns3-web-ui/src/app/services/updates.service.ts
2020-10-17 00:25:01 +02:00

12 lines
278 B
TypeScript

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/');
}
}