ffffng/server/resources/configResource.ts
baldo 250353edbf Major refactoring and fixes.
* 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.
2022-07-21 18:39:33 +02:00

5 lines
140 B
TypeScript

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