(host: string | undefined)
| 160 | */ |
| 161 | export function createHostCheck(opts: HostCheckOptions): HostCheck { |
| 162 | const isAllowed = (host: string | undefined): boolean => isAllowedHost(host, opts); |
| 163 | const onRequest = async ( |
| 164 | req: FastifyRequest, |
| 165 | reply: FastifyReply, |
no test coverage detected