ffffng/server/resources/versionResource.ts

7 lines
150 B
TypeScript

import { handleJSON } from "../utils/resources";
import { version } from "../config";
export const get = handleJSON(async () => ({
version,
}));