Skip to content

Commit

Permalink
[SILK-1791] Enable HSTS
Browse files Browse the repository at this point in the history
  • Loading branch information
sergionoviello committed Jul 19, 2024
1 parent 541617d commit 57bfd95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/apis/radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const hostname = require('os').hostname()
function jsonResponse (response, object) {
response.setHeader('Content-type', 'application/json')
response.setHeader('Cache-Control', 'no-cache')
response.setHeader('Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload')
response.end(JSON.stringify(object))
}

Expand Down

0 comments on commit 57bfd95

Please sign in to comment.