You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
359 B
7 lines
359 B
package.path = package.path .. "./?.lua;/etc/haproxy/scripts/?.lua;/etc/haproxy/libs/?.lua"
|
|
|
|
local hcaptcha = require("hcaptcha")
|
|
|
|
core.register_service("hcaptcha-view", "http", hcaptcha.view)
|
|
core.register_action("hcaptcha-check", { 'http-req', }, hcaptcha.check_captcha_status)
|
|
core.register_action("pow-check", { 'http-req', }, hcaptcha.check_pow_status)
|
|
|