mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-14 08:41:15 +10:00
feat: allow clients to fetch drop version
This commit is contained in:
@ -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(),
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user