forked from zxlwq/notes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedgeone.json
More file actions
77 lines (77 loc) · 2.99 KB
/
Copy pathedgeone.json
File metadata and controls
77 lines (77 loc) · 2.99 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"version": 2,
"name": "notes",
"public": true,
"routes": [
{
"src": "/api/(.*)",
"dest": "/edge-functions/api/$1"
},
{
"src": "/favicon.ico",
"dest": "/favicon.ico",
"headers": {
"Cache-Control": "public, max-age=315360000, immutable",
"Access-Control-Allow-Origin": "*",
"Content-Type": "image/x-icon",
"Content-Security-Policy": "default-src 'self'; script-src 'self' https://umami.zxlwq.dpdns.org https://static.cloudflareinsights.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https:; connect-src 'self' https://umami.zxlwq.dpdns.org https://cloudflareinsights.com; font-src 'self' data: https://fonts.gstatic.com; frame-ancestors 'none'",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"Referrer-Policy": "strict-origin-when-cross-origin"
}
},
{
"src": "/background.webp",
"dest": "/background.webp",
"headers": {
"Cache-Control": "public, max-age=315360000, immutable",
"Access-Control-Allow-Origin": "*",
"Content-Type": "image/webp",
"Content-Security-Policy": "default-src 'self'; script-src 'self' https://umami.zxlwq.dpdns.org https://static.cloudflareinsights.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https:; connect-src 'self' https://umami.zxlwq.dpdns.org https://cloudflareinsights.com; font-src 'self' data: https://fonts.gstatic.com; frame-ancestors 'none'",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"Referrer-Policy": "strict-origin-when-cross-origin"
}
},
{
"src": "/(.*)",
"dest": "/index.html",
"headers": {
"Content-Security-Policy": "default-src 'self'; script-src 'self' https://umami.zxlwq.dpdns.org https://static.cloudflareinsights.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https:; connect-src 'self' https://umami.zxlwq.dpdns.org https://cloudflareinsights.com; font-src 'self' data: https://fonts.gstatic.com; frame-ancestors 'none'",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"Referrer-Policy": "strict-origin-when-cross-origin"
}
}
],
"functions": {
"edge-functions/api/login.js": {
"maxDuration": 30
},
"edge-functions/api/notes.js": {
"maxDuration": 30
},
"edge-functions/api/notes/[id].js": {
"maxDuration": 30
},
"edge-functions/api/password/status.js": {
"maxDuration": 30
},
"edge-functions/api/logs.js": {
"maxDuration": 30
},
"edge-functions/api/import.js": {
"maxDuration": 30
},
"edge-functions/api/backup.js": {
"maxDuration": 30
},
"edge-functions/api/order/[key].js": {
"maxDuration": 30
}
},
"buildCommand": "npm run build",
"outputDirectory": "dist",
"installCommand": "npm install",
"framework": "vite"
}