[O] Replace CM

matching
Azalea 2024-12-27 22:04:20 -05:00
parent ae6ff97b62
commit 977f353f9c
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ class ChusanController(
data["c3exp"] = true
}
if (api.startsWith("CM") && api !in handlers) api = api.removePrefix("CM")
if (api !in noopEndpoint && !handlers.containsKey(api)) {
log.warn("Chu3 > $api not found")
return """{"returnCode":"1","apiName":"$api"}"""