mirror of
https://github.com/strapi/strapi.git
synced 2025-07-23 00:51:17 +00:00
439 B
439 B
title |
---|
X-Frame |
Enables X-Frame-Options
headers to help prevent Clickjacking.
Configuration
Configuration:
- Key:
xframe
- Environment:
development
- Location:
./config/environments/development/security.json
- Type:
string
Example:
{
"xframe": "SAMEORIGIN"
}
Notes:
- The string is the value for the header:
DENY
,SAMEORIGIN
orALLOW-FROM
. - Set to
false
to disable X-Frame-Options headers.