mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-12-06 00:16:49 +00:00
- Added frontend translation for english - Moved frontend api logic to hook and backend api space - Added swagger schema for the new api endpoint - Moved backend logic to its own internal file - Added user agent header to github api check - Added cypress integration test for version check api - Added a memory cache item from github check to avoid hitting it too much
9 lines
219 B
TypeScript
9 lines
219 B
TypeScript
import * as api from "./base";
|
|
import type { VersionCheckResponse } from "./responseTypes";
|
|
|
|
export async function checkVersion(): Promise<VersionCheckResponse> {
|
|
return await api.get({
|
|
url: "/version/check",
|
|
});
|
|
}
|