You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,15 +126,15 @@ Create a `static.json` file to configure the web server for clean [`browserHisto
126
126
127
127
#### HTTPS-only
128
128
129
-
Enforce secure connections by automatically redirecting insecure requests to `https://`:
129
+
Enforce secure connections by automatically redirecting insecure requests to **https://**, in `static.json`:
130
130
131
131
```json
132
132
{
133
133
"https_only": true
134
134
}
135
135
```
136
136
137
-
Prevent downgrade attacks by adding an HSTS header, [HTTP strict transport security](https://developer.mozilla.org/en-US/docs/Web/Security/HTTP_strict_transport_security):
137
+
Prevent downgrade attacks with [HTTP strict transport security](https://developer.mozilla.org/en-US/docs/Web/Security/HTTP_strict_transport_security). Add HSTS `"headers"` to `static.json`:
0 commit comments