mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 07:41:02 +08:00
Add API endpoint for the current server version.
This commit is contained in:
parent
dd39bc3910
commit
04ad8ca58e
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…
x
Reference in New Issue
Block a user