-
Notifications
You must be signed in to change notification settings - Fork 48
/
render.yaml
39 lines (38 loc) · 1.17 KB
/
render.yaml
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
services:
- type: web
name: vue-starter
runtime: static
branch: main
envVars:
- key: NODE_VERSION
value: 20.11.0
- key: API_URL
sync: false
buildCommand: pnpm install; pnpm build
staticPublishPath: app/dist
headers:
- path: /service-worker.js
name: Cache-Control
value: max-age=0,no-cache,no-store,must-revalidate
- path: /*
name: X-Frame-Options
value: DENY
- path: /*
name: X-XSS-Protection
value: 1; mode=block
- path: /*
name: Content-Security-Policy
value: "form-action https:"
- path: /*
name: Referrer-Policy
value: strict-origin-when-cross-origin
- path: /*
name: Strict-Transport-Security
value: max-age=2592000
- path: /*
name: Feature-Policy
value: vibrate 'none'; geolocation 'none'; midi 'none'; notifications 'none'; push 'none'; sync-xhr 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; speaker 'none'; vibrate 'none'; fullscreen 'none'; payment 'none'
routes:
- type: rewrite
source: /*
destination: /index.html