mirror of
https://github.com/sussy-code/backend.git
synced 2026-04-20 08:22:04 +00:00
Add version to meta route
This commit is contained in:
parent
ae0ffa9894
commit
53801f926a
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue