250353edbf
* Split Node into multiple types and make sure fields are actually set when type says so. * Refactor request handling. * Start getting rid of moment as a dependency by using UnixTimestampSeconds instead.
6 lines
145 B
TypeScript
6 lines
145 B
TypeScript
import {handleJSON} from "../utils/resources";
|
|
import {version} from "../config";
|
|
|
|
export const get = handleJSON(async () => ({
|
|
version
|
|
}));
|