This commit is contained in:
followcube
2021-06-08 21:58:43 +03:00
6 changed files with 140 additions and 21 deletions

View File

@ -4,7 +4,8 @@ require("guard")
require("hcaptcha")
require("test")
--core.register_service("hello-world", "http", guard.hello_world)
--core.register_service("hcaptcha-view", "http", hcaptcha.view)
--core.register_service("test", "http", test.hello_world2)
core.register_service("hello-world", "http", guard.hello_world)
core.register_service("hcaptcha-view", "http", hcaptcha.view)
core.register_action("hcaptcha-redirect", { 'http-req', }, hcaptcha.check_captcha_status)
core.register_service("ratelimit", "http", test.ratelimit)