Implement TLS support: update configuration for TLS, modify server to handle HTTPS, and enhance logging for request handling

This commit is contained in:
alex
2025-06-24 22:15:37 +03:00
parent 973c060e5f
commit ef1efdd585
8 changed files with 75 additions and 54 deletions

View File

@@ -1,6 +1,6 @@
--- #description = "Echoes back the message provided in the 'msg' parameter."
local mod = require("_for_echo")
--- #description = "Echoes back the message."
--- #args
--- msg = the message
if not Params.msg then
Result.status = "error"
@@ -9,5 +9,5 @@ if not Params.msg then
end
Result.status = "ok"
Result.answer = mod.translate(Params.msg)
Result.answer = Params.msg
return