The new version of OpenClaw is no longer supported. After running the "openclaw gateway" command, an error "index.ts: TypeError: api.registerHttpHandler is not a function" will be reported. After checking the update instructions of OpenClaw, the original api.registerHttpHandler(...) It should be changed to api.registerHttpRoute({ path, auth, match, handler }), but I'm not very familiar with this. I hope the author can update it or provide some suggestions for the modification. Thank you, author.
The new version of OpenClaw is no longer supported. After running the "openclaw gateway" command, an error "index.ts: TypeError: api.registerHttpHandler is not a function" will be reported. After checking the update instructions of OpenClaw, the original api.registerHttpHandler(...) It should be changed to api.registerHttpRoute({ path, auth, match, handler }), but I'm not very familiar with this. I hope the author can update it or provide some suggestions for the modification. Thank you, author.