Add version to meta route

This commit is contained in:
William Oldham
2023-11-05 15:12:44 +00:00
parent ae0ffa9894
commit 53801f926a

View File

@@ -1,4 +1,4 @@
import { conf } from '@/config';
import { conf, version } from '@/config';
import { handle } from '@/services/handler';
import { makeRouter } from '@/services/router';
@@ -26,6 +26,7 @@ export const metaRouter = makeRouter((app) => {
return {
name: conf.meta.name,
description: conf.meta.description,
version: version,
hasCaptcha: conf.captcha.enabled,
captchaClientKey: conf.captcha.clientKey,
};