-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
33 lines (28 loc) · 735 Bytes
/
Copy pathnetlify.toml
File metadata and controls
33 lines (28 loc) · 735 Bytes
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
[build]
base = "client"
command = "npm install --no-audit --no-fund && npm run build"
publish = "dist"
functions = "netlify/functions"
commandOrigin = "config"
[build.environment]
NODE_VERSION = "18"
NPM_FLAGS = "--no-audit --no-fund"
VITE_APP_TITLE = "Krowd111"
VITE_BACKEND_URL = "https://your-backend-url.com"
[functions]
node_bundler = "esbuild"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
[[headers]]
for = "/static/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"