2021-10-11 22:36:50 +00:00
|
|
|
import { useQuery } from 'h3'
|
2022-03-17 10:47:41 +00:00
|
|
|
import { parseURL } from 'ufo'
|
2021-10-11 22:36:50 +00:00
|
|
|
|
2022-03-17 10:47:41 +00:00
|
|
|
export default req => ({
|
|
|
|
path: '/api/hello' + parseURL(req.url).pathname,
|
|
|
|
query: useQuery(req)
|
|
|
|
})
|