diff --git a/src/controllers/00-config-controller.ts b/src/controllers/00-config-controller.ts new file mode 100644 index 0000000..c64f148 --- /dev/null +++ b/src/controllers/00-config-controller.ts @@ -0,0 +1,11 @@ +import { Controller, Get, Route, Tags } from "tsoa"; +import config from "../config.json"; + +@Route("api") +@Tags("Config") +export class ConfigController extends Controller { + @Get() + public getConfig() { + return config; + } +}