ffffng/server/resources/versionResource.ts

6 lines
150 B
TypeScript

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