next.config.js 401 B

12345678910111213141516171819202122
  1. module.exports = {
  2. reactStrictMode: true,
  3. headers: [
  4. {
  5. "source": "/(.*)",
  6. "headers" : [
  7. {
  8. "key" : "X-Content-Type-Options",
  9. "value" : "nosniff"
  10. },
  11. {
  12. "key" : "X-Frame-Options",
  13. "value" : "DENY"
  14. },
  15. {
  16. "key" : "X-XSS-Protection",
  17. "value" : "1; mode=block"
  18. }
  19. ]
  20. }
  21. ]
  22. }