New api endpoint for client config.

This commit is contained in:
baldo 2022-05-19 13:33:48 +02:00
parent 7ef13bc28c
commit dabc675aa9
4 changed files with 191 additions and 65 deletions
server/resources

View file

@ -0,0 +1,10 @@
import {success} from "../utils/resources";
import {config} from "../config";
import {Request, Response} from "express";
export function get (req: Request, res: Response): void {
success(
res,
config.client
);
}