We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15ad277 commit 7b139e5Copy full SHA for 7b139e5
src/middlewares/mapToRes/index.js
@@ -20,6 +20,7 @@ module.exports = function(req, res, next) {
20
else {
21
const fileStr = fs.readFileSync(responseFilePath, 'utf-8');
22
res.set('Access-Control-Allow-Origin', '*');
23
+ res.set('From-Mocking-Fake-Service', 'true');
24
res.send(fileStr);
25
}
26
},
0 commit comments