-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
55 lines (55 loc) · 1.77 KB
/
Copy pathrender.yaml
File metadata and controls
55 lines (55 loc) · 1.77 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
47
48
49
50
51
52
53
54
55
services:
- type: web
name: memact-website
repo: https://github.com/Memact/Website
runtime: static
branch: main
autoDeployTrigger: commit
buildCommand: npm ci && npm run build
staticPublishPath: dist
envVars:
- key: VITE_SUPABASE_URL
sync: false
- key: VITE_SUPABASE_ANON_KEY
sync: false
routes:
- type: rewrite
source: /Learn
destination: /learn/index.html
- type: rewrite
source: /learn
destination: /learn/index.html
- type: rewrite
source: /learn/
destination: /learn/index.html
- type: rewrite
source: /*
destination: /index.html
headers:
- path: /*
name: X-Frame-Options
value: DENY
- path: /*
name: X-Content-Type-Options
value: nosniff
- path: /*
name: Referrer-Policy
value: strict-origin-when-cross-origin
- path: /*
name: Permissions-Policy
value: camera=(), microphone=(), geolocation=(), payment=()
- path: /*
name: Content-Security-Policy
value: "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https://avatars.githubusercontent.com https://*.googleusercontent.com; connect-src 'self' https://*.supabase.co; frame-ancestors 'none'; base-uri 'self'; form-action 'self'"
- path: /*
name: Strict-Transport-Security
value: max-age=31536000; includeSubDomains
- path: /assets/*
name: Cache-Control
value: public, max-age=31536000, immutable
- path: /logo.png
name: Cache-Control
value: public, max-age=86400
- path: /index.html
name: Cache-Control
value: public, max-age=0, must-revalidate