Skip to content

Commit

Permalink
add HSTS headers
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Oct 30, 2024
1 parent 95239a8 commit 25c2673
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .genaiscript/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# ignore local cli
genaiscript.cjs
runs/
cache/
retrieval/
containers/
temp/
tests/
stats/
*.csv
6 changes: 6 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ const SITE_TITLE = `Jacdac - Connect and code electronics. Instantly.`
const SITE_DESCRIPTION = `Jacdac is a plug-and-play hardware and software stack for microcontrollers and their peripherals such as sensors and actuators. Jacdac is primarily designed for “modular electronics” scenarios that support rapid prototyping, creative exploration, making and learning through physical computing. Jacdac is designed to be cheap, flexible and extensible.`

module.exports = {
headers: [{
source: `/*`,
headers: [{
key: `Strict-Transport-Security`, value: `max-age=360000`
}]
}],
trailingSlash: "always",
siteMetadata: {
title: SITE_TITLE,
Expand Down

0 comments on commit 25c2673

Please sign in to comment.