1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-02-21 16:09:52 +00:00
Nuxt/examples/use-fetch/server/api/hello.ts

4 lines
80 B
TypeScript
Raw Normal View History

2021-10-11 22:36:50 +00:00
import { useQuery } from 'h3'
export default req => ({ query: useQuery(req) })