-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
46 lines (46 loc) · 1.24 KB
/
render.yaml
File metadata and controls
46 lines (46 loc) · 1.24 KB
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
37
38
39
40
41
42
43
44
45
46
services:
- type: web
name: package-health-analyzer-landing
env: static
rootDir: landing
buildCommand: npm install && npm run build
staticPublishPath: ./dist
pullRequestPreviewsEnabled: true
envVars:
- key: NODE_VERSION
value: 20
routes:
- type: rewrite
source: /*
destination: /index.html
headers:
- path: /*
name: X-Frame-Options
value: SAMEORIGIN
- path: /*
name: X-Content-Type-Options
value: nosniff
- path: /*
name: Referrer-Policy
value: strict-origin-when-cross-origin
- path: /assets/*
name: Cache-Control
value: public, max-age=31536000, immutable
- path: /*.js
name: Cache-Control
value: public, max-age=31536000, immutable
- path: /*.css
name: Cache-Control
value: public, max-age=31536000, immutable
- path: /favicon.ico
name: Cache-Control
value: public, max-age=86400
- path: /*.png
name: Cache-Control
value: public, max-age=86400
- path: /*.jpg
name: Cache-Control
value: public, max-age=86400
- path: /*.svg
name: Cache-Control
value: public, max-age=86400