1
This commit is contained in:
parent
4c3411b9dc
commit
e6e181ffc6
@ -32,9 +32,9 @@ utils.registerEventHandler(
|
||||
app.get('/webapp/index.php', async (req, rsp) => {
|
||||
const c = req.query.c;
|
||||
const a = req.query.a;
|
||||
const handle = handlers[a + '@' + c];
|
||||
if (handle) {
|
||||
handle(req, rsp);
|
||||
const handler = handlers[a + '@' + c];
|
||||
if (handler) {
|
||||
handler(req, rsp);
|
||||
} else {
|
||||
utils.rspErr(rsp, 100, 'not found');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user