ip logging for error reporting

This commit is contained in:
2024-04-08 09:46:25 +01:00
parent e532e0a0ab
commit fac12242e9
19 changed files with 96 additions and 29 deletions
+8 -3
View File
@@ -52,9 +52,14 @@ export default async function ApiProxy(req, res) {
"')) and pinswg_appealcasetype ne null and pinswg_publishtoweb eq true&$orderby=createdon desc&$count=true";
console.log(
"basic search ",
queryUrl,
WEBAPI_URL + queryUrl + hashAPIPath(queryUrl)
"\n==========================================\n",
"basic search: " + queryUrl,
"\n\n",
"basic search relay link: " +
WEBAPI_URL +
queryUrl +
hashAPIPath(queryUrl),
"\n==========================================\n"
);
var apiResponse = _.isEmpty(req.query)