block iframe

This commit is contained in:
smart_ex 2022-04-12 19:36:14 +10:00 committed by Danil Kovtonyuk
parent ee9e27ecad
commit a7fc9c4b24

@ -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()