fix __dirapi by conf.dirapi

This commit is contained in:
2023-06-28 15:23:17 +02:00
parent e172ba7cf2
commit d88169855a
32 changed files with 565 additions and 308 deletions

View File

@@ -50,7 +50,7 @@ const checkHeaders = (req, res, next) => {
if (!req.header("xlang") && req.header("Content-Language"))
req.params.xlang = req.header("Content-Language");
let missingheader = [];
console.log("req.headers", req.headers);
//console.log("req.headers", req.headers);
for (const h of conf.api.exposedHeaders) {
//console.log( h, req.header( h ) )
if (req.params[h]) {