jws-backend/src/controllers/00-config-controller.ts
Methapon Metanipat 66444bfdc5 fix: wrong path
2024-10-07 15:02:23 +07:00

11 lines
239 B
TypeScript

import { Controller, Get, Route, Tags } from "tsoa";
import config from "../config.json";
@Route("api/v1/config")
@Tags("Config")
export class ConfigController extends Controller {
@Get()
public getConfig() {
return config;
}
}