fix __dirapi by conf.dirapi
This commit is contained in:
@@ -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]) {
|
||||
|
Reference in New Issue
Block a user