6 lines
No EOL
198 B
TypeScript
6 lines
No EOL
198 B
TypeScript
import {json} from '@sveltejs/kit'
|
|
import info from "$lib/data/info.json"
|
|
import type { RequestHandler } from './$types'
|
|
export const GET: RequestHandler = async () => {
|
|
return json(info)
|
|
} |