How to check if the request is made by iframe
in "express.js" ?
Example:
site A:
<iframe src="http://siteb.com/router">
site B:
app.get('/router', (req, res, next) =>
// logica...
})
The question is not the source but simply verify that it is being loaded from a iframe
.