Skip to content

Commit 9a438ba

Browse files
authored
Merge pull request #6592 from saurabhraghuvanshii/clickjacking
feat: added `X-Frame-Options` and `CSP` for Prevent Clickjacking
2 parents b95d83d + 52f99c1 commit 9a438ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_headers

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Security headers to prevent clickjacking
2+
/*
3+
X-Frame-Options: SAMEORIGIN
4+
Content-Security-Policy: frame-ancestors 'self'
5+
16
# Cache static resources for 10 months
27
/*.js
38
/*.css

0 commit comments

Comments
 (0)