-
Notifications
You must be signed in to change notification settings - Fork 6
/
netlify.toml
36 lines (32 loc) · 756 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[build]
base = "/"
publish = "build/"
command = "make build"
functions = "functions/"
ignore = "git diff --quiet HEAD^ HEAD src/"
[build.environment]
GO_IMPORT_PATH = "github.com/Squad-1-React-Codenation/Fashionista"
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/:splat"
status = 200
query = { search = ":search" }
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/:splat"
status = 200
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Content-Security-Policy = "frame-ancestors https://www.facebook.com"
cache-control = '''
max-age=0,
no-cache,
no-store,
must-revalidate'''