Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Commit 63bd14a

Browse files
authored
📚 improve static.json examples
1 parent 16c60e3 commit 63bd14a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ Enforce secure connections by automatically redirecting insecure requests to **h
185185

186186
```json
187187
{
188+
"root": "build/",
188189
"https_only": true
189190
}
190191
```
@@ -193,6 +194,8 @@ Prevent downgrade attacks with [HTTP strict transport security](https://develope
193194

194195
```json
195196
{
197+
"root": "build/",
198+
"https_only": true,
196199
"headers": {
197200
"/**": {
198201
"Strict-Transport-Security": "max-age=7776000"
@@ -211,6 +214,7 @@ Configure using [Proxy Backends from the static site buildpack](https://github.c
211214

212215
```json
213216
{
217+
"root": "build/",
214218
"proxies": {
215219
"/api/": {
216220
"origin": "${API_URL}"

0 commit comments

Comments
 (0)