add a small reminder

This commit is contained in:
2025-07-31 20:56:25 +03:00
parent 20bb90e77a
commit a5a7354061

View File

@@ -27,6 +27,13 @@ func addInitiatorHeaders(req *http.Request, headers http.Header) {
headers.Set("X-Initiator-Referer", req.Referer())
}
// A small reminder: this code is only at the MVP stage,
// and some parts of the code may cause shock from the
// incompetence of the developer. But, in the end,
// this code is just an idea. If there is a desire to
// contribute to the development of the code,
// I will be only glad.
// TODO: make this huge function more harmonious by dividing responsibilities
func (h *HandlerV1) handleLUA(r *http.Request, req *rpc.RPCRequest, path string) *rpc.RPCResponse {
L := lua.NewState()
defer L.Close()