app-backend: point out where POST request errors are coming from
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -220,7 +220,9 @@ export async function createRouter(
|
||||
req.method = 'GET';
|
||||
next('router');
|
||||
} else {
|
||||
throw new InputError('Invalid POST request to /');
|
||||
throw new InputError(
|
||||
'Invalid POST request to app-backend wildcard endpoint',
|
||||
);
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user