feat: allow clients to fetch drop version

This commit is contained in:
Huskydog9988
2025-05-29 13:27:38 -04:00
parent be793ce0f7
commit 15806a3c9f
3 changed files with 39 additions and 6 deletions

View File

@ -1,5 +1,9 @@
import { systemConfig } from "~/server/internal/config/sys-conf";
export default defineEventHandler((_h3) => {
return {
appName: "Drop",
version: systemConfig.getDropVersion(),
ref: systemConfig.getGitRef(),
};
});