mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-07-13 18:19:34 -04:00
block iframe
This commit is contained in:
parent
ee9e27ecad
commit
a7fc9c4b24
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ const router = require('express').Router()
|
|||
|
||||
// Add CORS headers
|
||||
router.use((req, res, next) => {
|
||||
res.header('X-Frame-Options', 'DENY')
|
||||
res.header('Access-Control-Allow-Origin', '*')
|
||||
res.header('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept')
|
||||
next()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue