9 lines
199 B
TypeScript
9 lines
199 B
TypeScript
import "reflect-metadata"
|
|
|
|
export default defineEventHandler((envent)=>{
|
|
// @ts-ignore
|
|
const webName:string|undefined = envent.context.params.WebName
|
|
return {
|
|
api:'works'
|
|
}
|
|
}) |