mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Add API endpoint for the current server version.
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
This commit is contained in:
parent
dd39bc3910
commit
04ad8ca58e
1 changed files with 6 additions and 0 deletions
6
server/api/version.ts
Normal file
6
server/api/version.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import versionTag from "~/versionTag";
|
||||
export default defineEventHandler(() => {
|
||||
return {
|
||||
version: versionTag(),
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue