31
HFS ~ HTTP File Server / Re: reCAPTCHA for hfs?
« on: November 15, 2023, 09:53:57 PM »
cool, Leo!
this is how it is done with HFS 3 instead: you put this line in "server code"
exports.middleware = ctx => ctx.host === 'mydomain.com' || ctx.socket.destroy()
i'm considering to offer this as an option
this is how it is done with HFS 3 instead: you put this line in "server code"
exports.middleware = ctx => ctx.host === 'mydomain.com' || ctx.socket.destroy()
i'm considering to offer this as an option