import { HttpHeader, LambdaHttpResponse } from '@linzjs/lambda';
export async function versionGet() {
    var _a;
    const response = new LambdaHttpResponse(200, 'ok');
    response.header(HttpHeader.CacheControl, 'no-store');
    response.json({ version: (_a = process.env.GIT_VERSION) !== null && _a !== void 0 ? _a : 'dev', hash: process.env.GIT_HASH });
    return response;
}
//# sourceMappingURL=version.js.map