Update API from meeting

This commit is contained in:
schooltechx 2023-04-07 22:59:53 +07:00
parent 40f7e878c9
commit b2083ebae2
13 changed files with 125 additions and 67 deletions

View file

@ -1,8 +1,9 @@
import ver from "$lib/ver.json"
import {json} from '@sveltejs/kit'
import info from "$lib/data/info.json"
import type { RequestHandler } from './$types'
export const GET: RequestHandler = async () => {
const version = ver.version
const builddate = ver.builddate
return json({version,builddate})
return json({...info,version,builddate})
}