forked from Cookies_Public/AquaDX
[O] Replace CM
This commit is contained in:
parent
ae6ff97b62
commit
977f353f9c
@ -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"}"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user