import { Request , Response } from 'express' ; import config from '@/config' ; const handleGetVersion = ( _req , res ) => { const { version } = config . api ; res . json ( { version } ) ; } ; export default handleGetVersion ;