mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-23 21:08:04 +00:00
12 lines
278 B
TypeScript
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/');
|
|
}
|
|
}
|